Verify the validity of a non-empty array.
Usage:
const ret = isNonEmptyArray([1, 2, 3]);console.log(ret); Copy
const ret = isNonEmptyArray([1, 2, 3]);console.log(ret);
Output:
true Copy
true
Verify the validity of a non-empty array.
Usage:
Output: