Reads a selected value as a boolean.
Accepts the two forms XPath itself writes a boolean in, so that a boolean an expression computed is read back unchanged and anything else is refused rather than guessed at.
The Target to read, either a node a selection reached or a value an expression computed
true if the text node is written as is true; false if it is false
true
node
false
TypeError If the text node is written as is neither true nor false
Reads a selected value as a boolean.
Accepts the two forms XPath itself writes a boolean in, so that a boolean an expression computed is read back unchanged and anything else is refused rather than guessed at.