Skip to content

isNonEmpty

isNonEmpty<A>(data): data is NonEmptyList<A>

Defined in: Data/Arr.ts:648

Returns true if the array is non-empty (type guard).

A

readonly A[]

data is NonEmptyList<A>