Metreeca MIME
    Preparing search index...

    Function boolean

    • Reads a selected value as a boolean.

      Accepts only the true and false forms produced by XPath itself, so that computed booleans are read back unchanged and any other text is rejected rather than guessed at.

      Parameters

      • node: Target

        The Target to read, either a selected node or a computed value

      Returns boolean

      true if the text of node is true; false if it is false

      TypeError If the text of node is neither true nor false