• Test whether any element in this Set satisfies a certain test criterion.

    Parameters

    • test: ((arg0, arg1, arg2) => boolean)

      The test criterion to apply. Positional arguments are the value, the index of iteration, and the set being tested.

        • (arg0, arg1, arg2): boolean
        • Parameters

          • arg0: any
          • arg1: number
          • arg2: Set<any>

          Returns boolean

    Returns boolean

    Does any element in the set satisfy the test criterion?

    See

    Array#some