• Returns whether all the given texts are not blank

    Parameters

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

      the texts to check

    Returns boolean

    whether all the given texts are not blank

    allNotBlank([null, undefined]);    // false
    allNotBlank([null, 'world']); // false
    allNotBlank(['foo', 'bar']); // true