attrNames
lib.attrNames
Primop
Docs pulled from | This Revision | 21 minutes ago
Takes 1 arguments
set
Return the names of the attributes in the set set in an
alphabetically sorted list. For instance, builtins.attrNames { y = 1; x = "foo"; }
evaluates to [ "x" "y" ]
.
Noogle also knows
Aliases
Detected Type
attrNames :: AttrSet -> [a]