sonic-weave
    Preparing search index...

    Variable setUnionConst

    setUnion: <T>(a: Set<T>, b: Set<T>) => Set<T> = ...

    Type Declaration

      • <T>(a: Set<T>, b: Set<T>): Set<T>
      • Wrapper around Set.union() because TypeScript or something.

        Type Parameters

        • T

        Parameters

        • a: Set<T>

          First set.

        • b: Set<T>

          Second set.

        Returns Set<T>

        New set that contains elements of both sets (without duplicates).