Compartilhar via


IntrinsicOperators.or Function (F#)

Binary or. 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:
or : bool -> bool -> bool

// Usage:
or e1 e2

Parameters

  • e1
    Type: bool

    The first operand.

  • e2
    Type: bool

    The second operand.

Return Value

The result of the Boolean OR operation.

Remarks

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

This function is named Or in compiled assemblies. If you are accessing the member from a language other than F#, or through reflection, use this name.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

LanguagePrimitives.IntrinsicOperators Module (F#)

Core.LanguagePrimitives Module (F#)