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

    Function isNotEmpty

    • Returns whether the given array is not empty

      Parameters

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

        the array to check

      Returns boolean

      whether the given array is not empty

      David Hsing

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