Prelude API
Guides
Skill
GitHub
Preparing search index...
@prelude/array
first
Function first
first
<
T
>
(
values
:
T
[]
)
:
T
Type Parameters
T
Parameters
values
:
T
[]
Returns
T
first element of an array.
Throws
if array length is 0.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Skill
GitHub
Prelude API
Loading...
Throws
if array length is 0.