diff options
author | zimbatm <zimbatm@zimbatm.com> | 2018-01-29T12·36+0000 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2019-03-24T10·36+0100 |
commit | 514b3c7f8345cfcbbe166981214497ed9d93ae18 (patch) | |
tree | c9b5d3dec07486f41dbb31a9a0e12c83426e346e /doc/manual/expressions/builtins.xml | |
parent | 56f1ed55791fc7e8671f10263baa7a9d15b47c4b (diff) |
Add isPath primop
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>`
Diffstat (limited to 'doc/manual/expressions/builtins.xml')
-rw-r--r-- | doc/manual/expressions/builtins.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index cefc8b78eebe..0fb5261b384c 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -861,6 +861,14 @@ x: x + 456</programlisting> </varlistentry> + <varlistentry><term><function>builtins.isPath</function> + <replaceable>e</replaceable></term> + + <listitem><para>Return <literal>true</literal> if + <replaceable>e</replaceable> evaluates to a path, and + <literal>false</literal> otherwise.</para></listitem> + + </varlistentry> <varlistentry xml:id='builtin-isNull'> <term><function>isNull</function> |