mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
doc: builtins.attrNames returns alphabetically sorted list
This commit is contained in:
parent
03ae5e6459
commit
82a9c93c7f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ available as <function>builtins.derivation</function>.</para>
|
|||
<replaceable>set</replaceable></term>
|
||||
|
||||
<listitem><para>Return the names of the attributes in the set
|
||||
<replaceable>set</replaceable> in a sorted list. For instance,
|
||||
<replaceable>set</replaceable> in alphabetically sorted list. For instance,
|
||||
<literal>builtins.attrNames { y = 1; x = "foo"; }</literal>
|
||||
evaluates to <literal>[ "x" "y" ]</literal>.</para></listitem>
|
||||
|
||||
|
|
Loading…
Reference in a new issue