MCPcopy Create free account
hub / github.com/microsoft/tslib / __runInitializers

Function __runInitializers

tslib.es6.mjs:94–100  ·  view source on GitHub ↗
(thisArg, initializers, value)

Source from the content-addressed store, hash-verified

92};
93
94export function __runInitializers(thisArg, initializers, value) {
95 var useValue = arguments.length > 2;
96 for (var i = 0; i < initializers.length; i++) {
97 value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
98 }
99 return useValue ? value : void 0;
100};
101
102export function __propKey(x) {
103 return typeof x === "symbol" ? x : "".concat(x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…