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

    Function filterIgnoreEmpty

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

      Parameters

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

        The source string to inspect

      Returns string[] | undefined

      the filtered array of the gaven strings, without empties

      David Hsing

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