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