query
On this page

attrVals

lib.attrVals



Return the specified attributes from a set.

Example

attrVals ["a" "b" "c"] as
=> [as.a as.b as.c]

Type

attrVals :: [String] -> AttrSet -> [Any]

Arguments

  • [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
(lib.attrsets.attrVals)

Noogle also knows

Aliases