FSharpType.IsFunction 方法 (F#)
如果指定的型別是 F# 函式型別的表示或實作 F# 函式型別之關閉的執行階段型別,則傳回 true。
**命名空間/模組路徑:**Microsoft.FSharp.Reflection
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
static member IsFunction : Type -> bool
// Usage:
FSharpType.IsFunction (typ)
參數
typ
型別:Type要檢查的型別。
傳回值
如果型別檢查成功則傳回 true。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可攜式執行檔 (PE)。