Function intersection

  • Obtain values present in both iterables.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: Iterable<T>

      an iterable

    • y: Iterable<T>

      another iterable

    • fc: CompareFunction<T | U> = null

      compare function (a, b)

    • fm: MapFunction<T, T | U> = null

      map function (v, i, x)

    Returns IterableIterator<T>

    x ∩ y = {v | v ∈ x, v ∈ y}

Generated using TypeDoc