isNonEmpty
isNonEmpty<
A>(data):data is NonEmptyList<A>
Defined in: Core/Arr.ts:433
Returns true if the array is non-empty (type guard).
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”readonly A[]
Returns
Section titled “Returns”data is NonEmptyList<A>