Home > rc-js-util > arrayAddToSet
Adds the items in an array to the set.
Signature:
export declare function arrayAddToSet<TItem>(items: ArrayLike<TItem>, set: Set<TItem>): void;
Parameter | Type | Description |
---|---|---|
items | ArrayLike<TItem> | |
set | Set<TItem> |
Returns:
void
See arrayAddToSet().