Share via


HashCompare.FastEqualsTuple2<'T1,'T2> Function (F#)

A primitive entry point used by the F# compiler for optimization purposes.

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

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

// Signature:
FastEqualsTuple2 : IEqualityComparer -> 'T1 * 'T2 -> 'T1 * 'T2 -> bool

// Usage:
FastEqualsTuple2 comparer tuple1 tuple2

Parameters

  • comparer
    Type: IEqualityComparer

    The comparer object.

  • tuple1
    Type: 'T1 * 'T2

    The first tuple of two elements.

  • tuple2
    Type: 'T1 * 'T2

    The second tuple of two elements.

Return Value

true if the tuples are equal; otherwise, false.

Remarks

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

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.HashCompare Module (F#)

Core.LanguagePrimitives Module (F#)