diff options
Diffstat (limited to 'files/fr/web/xpath/functions/not/index.md')
-rw-r--r-- | files/fr/web/xpath/functions/not/index.md | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/files/fr/web/xpath/functions/not/index.md b/files/fr/web/xpath/functions/not/index.md index 142a814159..9caf626f21 100644 --- a/files/fr/web/xpath/functions/not/index.md +++ b/files/fr/web/xpath/functions/not/index.md @@ -6,27 +6,31 @@ tags: translation_of: Web/XPath/Functions/not original_slug: Web/XPath/Fonctions/not --- -<p> {{ XsltRef() }} -</p><p><br> -La fonction <code>not</code> évalue une expression booléenne et retourne la valeur opposée. -</p> -<h3 id="Syntaxe">Syntaxe </h3> -<pre class="eval">not( <i>expression</i> ) -</pre> -<h3 id="Arguments"> Arguments </h3> -<dl><dt><code><i>expression</i></code> (optionnel) -</dt><dd>L'expression est évaluée exactement comme si elle était passée en tant qu'argument à la fonction <a href="fr/XPath/Fonctions/boolean"> boolean()</a>. -</dd></dl> -<h3 id="Retour"> Retour </h3> -<p><code>True</code> pour une expression évaluée à <code>false</code> ; <code>false</code> pour une expression évaluée à <code>true</code>. -</p> -<h3 id="Notes"> Notes </h3> -<ul><li> Cette fonction devrait se comporter de façon identique à la fonction <a href="fr/XPath/Fonctions/boolean"> boolean()</a>, excepté qu'elle retourne la valeur opposée. -</li></ul> -<h3 id="D.C3.A9finition"> Définition </h3> -<p><a href="http://www.w3.org/TR/xpath#function-not">XPath 1.0, section 4.3</a>. -</p> -<h3 id="Support_Gecko"> Support Gecko </h3> -<p>Supportée. -</p>
\ No newline at end of file + +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()](fr/XPath/Fonctions/boolean). + +### Retour + +`True` pour une expression évaluée à `false` ; `false` pour une expression évaluée à `true`. + +### Notes + +- Cette fonction devrait se comporter de façon identique à la fonction [boolean()](fr/XPath/Fonctions/boolean), excepté qu'elle retourne la valeur opposée. + +### Définition + +[XPath 1.0, section 4.3](http://www.w3.org/TR/xpath#function-not). + +### Support Gecko + +Supportée. |