Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "intersection"

Index

Functions

Functions

Const intersection

  • intersection<T>(a: Set<T>, b: Set<T>, out?: Set<T>): Set<T>
  • Computes the intersection of sets a and b and writes results into new set or optionally given set out (assumed to be empty for correct results). If out is not given, the returned Set type will be that of a (provided it defines Symbol.species).

    Type parameters

    • T

    Parameters

    • a: Set<T>
    • b: Set<T>
    • Optional out: Set<T>

    Returns Set<T>

Generated using TypeDoc