Function filterIgnoreBlank

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

    Parameters

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

      the source string to inspect

    Returns string[] | undefined

    the filtered array of the gaven strings, without blanks

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