Head

_.head(array)

Gets the first element of array.

Arguments

array (Array): The array to query.

Returns

(*): Returns the first element of array.

Example