Returns undefined if arr is empty.
undefined
arr
import * as A from "flurp/array";A.first([4, 5, 6]); // 4A.first([]); // undefined
Remarks
Returns
undefined
ifarr
is empty.Example