Compartir a través de


List.Head<'T> Property (F#)

Gets the first element of the list.

Namespace/Module Path: Microsoft.FSharp.Collections

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

// Signature:
member this.Head :  'T

// Usage:
list.Head

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

Collections.List<'T> Union (F#)

Microsoft.FSharp.Collections Namespace (F#)