Function arrayMatchOneOrMore

  • Tests if at least one element of the given array matches the predicate.

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array to test

    • predicate: Predicate<T>

      The predicate used to test each element of the given array

    Returns boolean

    true if at leat one element matches the given predicate, false otherwise.

Generated using TypeDoc