@unikue/ts-lang-utils
    Preparing search index...

    Function isNotEmpty

    • Returns whether the given array is not empty

      Parameters

      • Optionalarray: any[] | readonly any[] | null

        The array to check

      Returns boolean

      whether the given array is not empty

      David Hsing

      isNotEmpty(['foo', 'bar']);    // true