MCPcopy Create free account
hub / github.com/TruthHun/BookStack / toResolutionValue

Function toResolutionValue

static/word2md/mammoth.browser.js:7501–7506  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

7499var isArray = util.isArray;
7500
7501function toResolutionValue(val) {
7502 switch(val) {
7503 case -2: return [];
7504 case -3: return {};
7505 }
7506}
7507
7508function PromiseArray(values) {
7509 var promise = this._promise = new Promise(INTERNAL);

Callers 1

mammoth.browser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected