js-util

Home > rc-js-util > arrayAddToSet

arrayAddToSet() function

Adds the items in an array to the set.

Signature:

export declare function arrayAddToSet<TItem>(items: ArrayLike<TItem>, set: Set<TItem>): void;

Parameters

Parameter Type Description
items ArrayLike<TItem>  
set Set<TItem>  

Returns:

void

Remarks

See arrayAddToSet().