• Returns true if the predicate has a true-ish value for any of the items in the Iterable, otherwise false. Also see Array.prototype.some

    Type Parameters

    • T

    Parameters

    • itr: Iterable<T>

      Iterator

    • predicate: ((item) => any)

      Predicate function

        • (item): any
        • Parameters

          • item: T

          Returns any

    Returns boolean