attrVals
lib.attrVals
Docs pulled from | This Revision | 11 minutes ago
Return the specified attributes from a set.
Inputs
nameList
-
The list of attributes to fetch from
set
. Each attribute name must exist on the attrbitue set set
-
The set to get attribute values from
Type
attrVals :: [String] -> AttrSet -> [Any]
Examples
lib.attrsets.attrVals
usage example
attrVals ["a" "b" "c"] as
=> [as.a as.b as.c]