--- title: not slug: Web/XPath/Functions/not tags: - Référence_XSLT translation_of: Web/XPath/Functions/not original_slug: Web/XPath/Fonctions/not ---

{{ XsltRef() }}


La fonction not évalue une expression booléenne et retourne la valeur opposée.

Syntaxe

not( expression )

Arguments

expression (optionnel)
L'expression est évaluée exactement comme si elle était passée en tant qu'argument à la fonction boolean().

Retour

True pour une expression évaluée à false ; false pour une expression évaluée à true.

Notes

Définition

XPath 1.0, section 4.3.

Support Gecko

Supportée.

Interwiki Languages Links

{{ languages( { "en": "en/XPath/Functions/not", "ja": "ja/XPath/Functions/not", "pl": "pl/XPath/Funkcje/not" } ) }}