Sdílet prostřednictvím


IntrinsicOperators.( & ) Function (F#)

Computes the Boolean AND operation. When used as a binary operator the right hand value is evaluated only on demand.

Namespace/Module Path: Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicOperators

Assembly: FSharp.Core (in FSharp.Core.dll)

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

// Usage:
e1 & e2

Parameters

  • e1
    Type: bool

    The first operand.

  • e2
    Type: bool

    The second operand.

Return Value

The result of the Boolean AND operation.

Remarks

This function is for use by compiled F# code and should not be used directly.

Platforms

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

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

LanguagePrimitives.IntrinsicOperators Module (F#)

Core.LanguagePrimitives Module (F#)