Skip to content

isNonEmpty

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

Defined in: Core/Arr.ts:433

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

A

readonly A[]

data is NonEmptyList<A>