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

    Function filterIgnoreBlank

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

      Parameters

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

        The source string to inspect

      Returns string[] | undefined

      the filtered array of the gaven strings, without blanks

      David Hsing

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