聲明 func IsSubTypeOf(target object, type Type) bool go 參數 輸入 名稱 類型 描述 目標 Object 被查詢的目標變數 類型 Type 被比較的類型 返回 類型 描述 Bool 是否為子類