• Returns whether any of the given texts is not empty

    Parameters

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

      the texts to check

    Returns boolean

    whether any of the given texts is not empty

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