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

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

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

Implements the physical hash. This function hashes on the object identity, except for value types, where it hashes on the contents.

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

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

Syntax

// Signature:
PhysicalHash : 'T -> int (requires reference type)

// Usage:
PhysicalHash obj

Parameters

obj Type: 'T

The input object.

Return Value

The hashed value.

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

Core.LanguagePrimitives Module (F#)

Microsoft.FSharp.Core Namespace (F#)

© 2017 Microsoft