-
Notifications
You must be signed in to change notification settings - Fork 0
array.Function.first
soetas edited this page Nov 30, 2024
·
2 revisions
estdlib v0.1.2 / array / first
first(
array
):unknown
Gets the first element of array
• array: unknown
[]
The array to query
unknown
- Returns the first element of array
0.1.2
first([1, 2, 3])
// => 1
first([])
// => undefined
Docs made with by typedoc、typedoc-plugin-markdown & typedoc-github-wiki-theme.