rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
17 lines • 428 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setValuesToArray = void 0;
/**
* @public
* Converts a set into an array of its values.
*
* @returns The values of the set.
*
* @remarks
* See {@link setValuesToArray}.
*/
function setValuesToArray(set) {
return Array.from(set.values());
}
exports.setValuesToArray = setValuesToArray;
//# sourceMappingURL=set-values-to-array.js.map