共用方式為


IntrinsicOperators.( && ) 函式 (F#)

計算布林 AND 運算。 做為二元運算子時,右邊的值只在需要時才進行評估

命名空間/模組路徑: Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators

組件:FSharp.Core (在 FSharp.Core.dll 中)

// Signature:
( && ) : bool -> bool -> bool

// Usage:
e1 && e2

參數

  • e1
    型別:bool

    第一個值。

  • e2
    型別:bool

    第二個值。

傳回值

運算的結果。

平台

Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

版本資訊

F# 執行階段

支援版本:2.0、4.0

Silverlight

支援版本:3

請參閱

參考

LanguagePrimitives.IntrinsicOperators 模組 (F#)

Core.LanguagePrimitives 模組 (F#)