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

    Function ArrayAll

    • Determines whether all elements in the given array satisfy the provided predicate function.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array of elements to test.

      • func: TPredicateFunction<T>

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

      Returns boolean

      true if the array is non-empty and every element satisfies the predicate; otherwise, false.

      4.0.0

      2021-12-14