attrValues
builtins.attrValues
Primop
Docs pulled from | This Revision | about 1 hour ago
Takes 1 arguments
set
Return the values of all attributes in the given set, sorted by attribute name.
Type
attrValues :: AttrSet -> [Any]
Examples
lib.attrsets.attrValues
usage example
attrValues {c = 3; a = 1; b = 2;}
=> [1 2 3]
This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.
Noogle detected
Implementation
This function is implemented in c++ and is part of the native nix runtime.