1. Web
  2. XML
  3. XPath
  4. Reference
  5. Functions
  6. false

false

The false function returns boolean false.

Syntax

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.

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /