Preparing search index...
The search index is not available
react-declarative - v2.6.90
react-declarative
first
Function first
Returns the first element of an array.
first
<
T
>
(
arr
)
:
null
|
T
Type Parameters
T
=
any
The type of array elements.
Parameters
arr
:
undefined
|
null
|
T
[]
The input array.
Returns
null
|
T
The first element of the array, or null if the array is null or empty.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
react-declarative - v2.6.90
Loading...
Returns the first element of an array.