Export (0) Print
Expand All
Expand Minimize

LanguagePrimitives.GenericComparison<'T> Function (F#)

Compare two values.

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

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

// Signature:
GenericComparison : 'T -> 'T -> int (requires comparison)

// Usage:
GenericComparison e1 e2


Type: 'T

The first value.


Type: 'T

The second value.

The result of the comparison.

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

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

© 2015 Microsoft