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

    Function filterIgnoreEmpty

    • Returns the filtered array of the gaven strings, without empties

      Parameters

      • Optionaltexts: (undefined | null | string)[]

        the source string to inspect

      Returns undefined | string[]

      the filtered array of the gaven strings, without empties

      David Hsing

      filterIgnoreEmpty([null, undefined, '', 'foobar']);    //  ['foobar']