forked from lix-project/lix
Merge pull request #1657 from plesiv/docs-typeof-fix
Mention "float" type in the docs
This commit is contained in:
commit
ac4a1ef0c1
|
@ -600,6 +600,16 @@ x: x + 456</programlisting>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
||||||
|
<varlistentry><term><function>builtins.isFloat</function>
|
||||||
|
<replaceable>e</replaceable></term>
|
||||||
|
|
||||||
|
<listitem><para>Return <literal>true</literal> if
|
||||||
|
<replaceable>e</replaceable> evaluates to a float, and
|
||||||
|
<literal>false</literal> otherwise.</para></listitem>
|
||||||
|
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
|
||||||
<varlistentry><term><function>builtins.isBool</function>
|
<varlistentry><term><function>builtins.isBool</function>
|
||||||
<replaceable>e</replaceable></term>
|
<replaceable>e</replaceable></term>
|
||||||
|
|
||||||
|
@ -1245,8 +1255,9 @@ stdenv.mkDerivation (rec {
|
||||||
<replaceable>e</replaceable>, namely <literal>"int"</literal>,
|
<replaceable>e</replaceable>, namely <literal>"int"</literal>,
|
||||||
<literal>"bool"</literal>, <literal>"string"</literal>,
|
<literal>"bool"</literal>, <literal>"string"</literal>,
|
||||||
<literal>"path"</literal>, <literal>"null"</literal>,
|
<literal>"path"</literal>, <literal>"null"</literal>,
|
||||||
<literal>"set"</literal>, <literal>"list"</literal> or
|
<literal>"set"</literal>, <literal>"list"</literal>,
|
||||||
<literal>"lambda"</literal>.</para></listitem>
|
<literal>"lambda"</literal> or
|
||||||
|
<literal>"float"</literal>.</para></listitem>
|
||||||
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue