3.1.5 • Published 6 years ago
@unction/first v3.1.5
@unction/first
OrderedEnumerableType => A | string | void
Returns the first item of an ordered list.
first([1, 2, 3]) // 1
first("abc") // "a"
OrderedEnumerableType => A | string | void
Returns the first item of an ordered list.
first([1, 2, 3]) // 1
first("abc") // "a"