Takaro - v0.4.11
Preparing search index...
@takaro/helpers
_
head
Function head
head
<
T
>
(
array
:
readonly
[
T
,
unknown
]
)
:
T
Gets the first element of array.
Type Parameters
T
Parameters
array
:
readonly
[
T
,
unknown
]
The array to query.
Returns
T
Returns the first element of array.
Alias
_.first
head
<
T
>
(
array
:
List
<
T
>
|
null
|
undefined
)
:
T
|
undefined
Type Parameters
T
Parameters
array
:
List
<
T
>
|
null
|
undefined
Returns
T
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Takaro - v0.4.11
Loading...
Gets the first element of array.