KeyValueMap

KeyValueMap[f,key1val1,key2val2,]

gives the list {f[key1,val1],f[key2,val2],}.

KeyValueMap[f]

represents an operator form of KeyValueMap that can be applied to an expression.

Details

Examples

Basic Examples  (1)

Map a function over the keys and values of an association:

Introduced in 2015
 (10.1)