Skip to content

self-assert / Requirements / isNotEmpty

Function: isNotEmpty() ​

isNotEmpty(value): boolean

Returns a predicate that holds when the list has at least one element

Parameters ​

ParameterType
valueArrayLike

Returns ​

boolean