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