mazey
    Preparing search index...

    Function isNonEmptyArray

    • Verify the validity of a non-empty array.

      Usage:

      import { isNonEmptyArray } from "mazey";

      const ret = isNonEmptyArray([1, 2, 3]);
      console.log(ret);

      Output:

      true
      

      Type Parameters

      • T

      Parameters

      • arr: T[]

      Returns boolean