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

Function hasPromisified

static/word2md/mammoth.browser.js:7722–7726  ·  view source on GitHub ↗
(obj, key, suffix)

Source from the content-addressed store, hash-verified

7720}
7721
7722function hasPromisified(obj, key, suffix) {
7723 var val = util.getDataPropertyOrDefault(obj, key + suffix,
7724 defaultPromisified);
7725 return val ? isPromisified(val) : false;
7726}
7727function checkValid(ret, suffix, suffixRegexp) {
7728 for (var i = 0; i < ret.length; i += 2) {
7729 var key = ret[i];

Callers 1

promisifiableMethodsFunction · 0.70

Calls 1

isPromisifiedFunction · 0.70

Tested by

no test coverage detected