• Creates a Predicate that checks if all elements of an Array match a Predicate.

    Returns true if the array is empty.

    Returns

    true if all elements match the predicate, otherwise false

    Type Parameters

    • T

    Parameters

    • predicate: Predicate<[T, number, ArrayLike<T>]>

      the Predicate to match

    • Optional fromIndex: number

      the optional array index to begin with, defaults to 0

    Returns Predicate<[ArrayLike<T>]>

Generated using TypeDoc