Function every

  • Determines whether all elements of an iterable sequence satisfy a condition.

    Type Parameters

    • T

      The type of the elements in the source sequence.

    Parameters

    • source: Iterable<T>

      An iterable sequence whose elements to apply the predicate to.

    • options: FindOptions<T>

      The options for a predicate for filtering, thisArg for binding and AbortSignal for cancellation.

    Returns boolean

    A boolean determining whether all elements in the source sequence pass the test in the specified predicate.

Generated using TypeDoc