diff options
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/builtins.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/manual/builtins.xml b/doc/manual/builtins.xml index 465c062b6..ce21e8525 100644 --- a/doc/manual/builtins.xml +++ b/doc/manual/builtins.xml @@ -901,6 +901,19 @@ stdenv.mkDerivation (rec { </varlistentry> + <varlistentry><term><function>builtins.typeOf</function> + <replaceable>e</replaceable></term> + + <listitem><para>Return a string representing the type of the value + <replaceable>e</replaceable>, namely <literal>"int"</literal>, + <literal>"bool"</literal>, <literal>"string"</literal>, + <literal>"path"</literal>, <literal>"null"</literal>, + <literal>"attrs"</literal>, <literal>"list"</literal> or + <literal>"lambda"</literal>.</para></listitem> + + </varlistentry> + + </variablelist> |