query
On this page

getValues

lib.options.getValues

Docs pulled from | This Revision | 35 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 also knows

Aliases