• Returns whether all the given texts are blank

    Parameters

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

      the texts to check

    Returns boolean

    whether all the given texts are blank

    allBlank([null, undefined]);    // true
    allBlank([null, 'true']); // false