Function: uniqChain()
uniqChain<
T>(...args):Generator<T,void,undefined>
Defined in: src/utils/iterables.ts:182
Yield every unique element from the given iterables, in order of first
appearance. Mirrors ManimCE uniq_chain (a lazy generator).
Type Parameters
T
T
Parameters
args
...Iterable<T, any, any>[]
Returns
Generator<T, void, undefined>
Example
[...uniqChain([1, 2], [2, 3], [1, 4, 4])]; // [1, 2, 3, 4]