The boolean
function evaluates an expression and returns true or false.
boolean( expression )
expression
Boolean true
or false
after evaluating expression
.
NaN
. Otherwise, it evaluates true.Supported.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/boolean