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

Function isPromisified

static/word2md/mammoth.browser.js:7713–7720  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

7711}
7712
7713function isPromisified(fn) {
7714 try {
7715 return fn.__isPromisified__ === true;
7716 }
7717 catch (e) {
7718 return false;
7719 }
7720}
7721
7722function hasPromisified(obj, key, suffix) {
7723 var val = util.getDataPropertyOrDefault(obj, key + suffix,

Callers 3

hasPromisifiedFunction · 0.70
promisifiableMethodsFunction · 0.70
mammoth.browser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected