Table of contents
Collapse the table of content
Expand the table of content

IntrinsicOperators.( || ) Function (F#)

Den Delimarsky|Last Updated: 8/18/2017
1 Contributor

Computes the Boolean OR 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


e1 Type: bool

The first value.

e2 Type: bool

The second value.

Return Value

The result of the operation.


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

LanguagePrimitives.IntrinsicOperators Module (F#)

Core.LanguagePrimitives Module (F#)

© 2019 Microsoft