Metreeca Gear
    Preparing search index...

    Function boolean

    • 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.

      Parameters

      • node: Target

        The Target to read, either a node a selection reached or a value an expression computed

      Returns boolean

      true if the text node is written as is true; false if it is false

      TypeError If the text node is written as is neither true nor false