Skip to main content

Function: setToArray()

function setToArray<T>(set): T[];

Converts a set to an array. If the set is a collection wrapper it will return the backed array.

Type Parameters​

Type Parameter
T

Parameters​

ParameterTypeDescription
setSet<T> | ObservableSet<T>-

Returns​

T[]