Header menu logo FSharp.Core

IntrinsicOperators Module

The F# compiler emits calls to some of the functions in this module as part of the compiled form of some language constructs

Functions and values

Function or value Description

e1 && e2

Full Usage: e1 && e2

Parameters:
    e1 : bool - The first value.
    e2 : bool - The second value.

Returns: bool The result of the operation.

Binary 'and'. When used as a binary operator the right hand value is evaluated only on demand

e1 : bool

The first value.

e2 : bool

The second value.

Returns: bool

The result of the operation.

e1 & e2

Full Usage: e1 & e2

Parameters:
Returns: bool

Binary 'and'. When used as a binary operator the right hand value is evaluated only on demand.

e1 : bool
e2 : bool
Returns: bool

e1 || e2

Full Usage: e1 || e2

Parameters:
    e1 : bool - The first value.
    e2 : bool - The second value.

Returns: bool The result of the operation.

Binary 'or'. When used as a binary operator the right hand value is evaluated only on demand

e1 : bool

The first value.

e2 : bool

The second value.

Returns: bool

The result of the operation.

~&&obj

Full Usage: ~&&obj

Parameters:
    obj : 'T - The input object.

Returns: nativeptr<'T> The unmanaged pointer.
Modifiers: inline
Type parameters: 'T

Address-of. Uses of this value may result in the generation of unverifiable code.

obj : 'T

The input object.

Returns: nativeptr<'T>

The unmanaged pointer.

~&obj

Full Usage: ~&obj

Parameters:
    obj : 'T - The input object.

Returns: byref<'T> The managed pointer.
Modifiers: inline
Type parameters: 'T

Address-of. Uses of this value may result in the generation of unverifiable code.

obj : 'T

The input object.

Returns: byref<'T>

The managed pointer.

``or`` e1 e2

Full Usage: ``or`` e1 e2

Parameters:
Returns: bool

Binary 'or'. When used as a binary operator the right hand value is evaluated only on demand.

e1 : bool
e2 : bool
Returns: bool

Type something to start searching.