Skip to main content

Home > @jsplumb/util > setToArray

setToArray() function#

Convert a set into an array. This is not needed for modern browsers but for IE11 compatibility we use this in jsplumb.

Signature:

export declare function setToArray<T>(s: Set<T>): Array<T>;

Parameters#

ParameterTypeDescription
sSet<T>

Returns:

Array<T>