Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/xpath/functions/false/index.md
6532 views
---
title: "false" slug: Web/XPath/Functions/false
---

{{ XsltRef() }}

The false function returns boolean false.

Syntax

false()

Returns

Boolean false.

Notes

This function is useful part of a comparison:

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

Defined

XPath 1.0 4.3

Gecko support

Supported.