MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / booleanValue

Method booleanValue

xml/importenex.cpp:488–495  ·  view source on GitHub ↗

take a node's value and return true/false based upon its value

Source from the content-addressed store, hash-verified

486//* its value
487//***********************************************************
488bool ImportEnex::booleanValue() {
489 QString value = textValue();
490 value.toLower();
491 if (value == "1" || value == "true")
492 return true;
493 else
494 return false;
495}
496
497
498//***********************************************************

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected