query
On this page

concatAttrValues

lib.lists.concatAttrValues

Docs pulled from | This Revision | 9 minutes ago


Concatenate all attributes of an attribute set. This assumes that every attribute of the set is a list.

Inputs

set

Attribute set with attributes that are lists

Examples

lib.concatAttrValues usage example

concatAttrValues { a = [ 1 2 ]; b = [ 3 ]; }
=> [ 1 2 3 ]

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

concatAttrValues = set: concatLists (attrValues set);