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

Function readBooleanElement

static/word2md/mammoth.browser.js:875–882  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

873 }
874
875 function readBooleanElement(element) {
876 if (element) {
877 var value = element.attributes["w:val"];
878 return value !== "false" && value !== "0";
879 } else {
880 return false;
881 }
882 }
883
884 function readParagraphStyle(element) {
885 return readStyle(element, "w:pStyle", "Paragraph", styles.findParagraphStyleById);

Callers 1

readRunPropertiesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected