• Returns whether any of the given texts is blank

    Parameters

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

      the texts to check

    Returns boolean

    whether any of the given texts is blank

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