kaven-basic - v6.0.0
    Preparing search index...

    Function ArrayAny

    • Determines whether at least one element in the provided array satisfies the given predicate function.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to test.

      • predicate: TPredicateFunction<T>

        A predicate function that takes an element of type T and returns a boolean.

      Returns boolean

      true if at least one element in the array satisfies the predicate; otherwise, false.

      4.0.0

      2021-12-14