getValues
lib.getValues
Docs pulled from | This Revision | 13 minutes ago
Extracts values of all "value" keys of the given list.
Type
getValues :: [ { value :: a; } ] -> [a]
Examples
getValues
usage example
getValues [ { value = 1; } { value = 2; } ] // => [ 1 2 ]
getValues [ ] // => [ ]
Noogle detected
Implementation
This function is implemented in c++ and is part of the native nix runtime.