mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Document typeOf
This commit is contained in:
parent
411a3461dc
commit
a5684e09d3
1 changed files with 13 additions and 0 deletions
|
@ -901,6 +901,19 @@ stdenv.mkDerivation (rec {
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue