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

Function Result

static/word2md/mammoth.browser.js:2611–2614  ·  view source on GitHub ↗
(value, messages)

Source from the content-addressed store, hash-verified

2609
2610
2611function Result(value, messages) {
2612 this.value = value;
2613 this.messages = messages || [];
2614}
2615
2616Result.prototype.map = function(func) {
2617 return new Result(func(this.value), this.messages);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected