aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/xpath/functions/false/index.md
blob: 79e162444f2c929391abf881cbef3ebc94c4166f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: 'false'
slug: Web/XPath/Functions/false
tags:
  - Référence_XSLT
translation_of: Web/XPath/Functions/false
original_slug: Web/XPath/Fonctions/false
---
{{ XsltRef() }}

La fonction `false` retourne le booléen `false`.

### Syntaxe

    false()

### Retour

Booléen `false`.

### Notes

Cette fonction est utile dans les comparaisons :

    <xsl:if test="boolean((1 > 2) = false())">
     L'expression évaluée comme fausse
    </xsl:if>

### Définition

[XPath 1.0, section 4.3](http://www.w3.org/TR/xpath#function-false).

### Support Gecko

Supportée.