Function includes

  • Determines if any of the values yielded by the supplied iterator are equal to (===) a particular value.

    Type Parameters

    Type Parameters

    • T

    Parameters

    • searchElement: T

      The value against which all yielded values will be compared

    • iterable: Iterable<T> | AsyncIterable<T>

    Returns Promise<boolean>

Generated using TypeDoc