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