Back to Content

false

files/en-us/web/xml/xpath/reference/functions/false/index.md

latest392 B
Original Source

The false function returns boolean false.

Syntax

plain
false()

Return value

Boolean false.

Description

This function is useful part of a comparison:

xml
<xsl:if test="boolean((1 &gt; 2) = false())">
  The expression evaluates as true
</xsl:if>

Specifications

XPath 1.0 4.3

Gecko support

Supported.