XPath/XQuery true function

Summary

Returns the xs:boolean value true.

Signature

fn:true(
) as xs:boolean

Properties

This function is deterministic, context-independent, and focus-independent.

Rules

The result is equivalent to xs:boolean("1").

Examples

The expression fn:true() returns xs:boolean(1).