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

Function callOrReturn

static/word2md/mammoth.browser.js:16925–16931  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

16923});
16924
16925function callOrReturn(value) {
16926 if (typeof(value) == "function") {
16927 return value();
16928 } else {
16929 return value;
16930 }
16931}
16932
16933exports.some = function(value) {
16934 return new Some(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected