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:

Wolfram Research (2015), KeyValueMap, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyValueMap.html.

Text

Wolfram Research (2015), KeyValueMap, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyValueMap.html.

CMS

Wolfram Language. 2015. "KeyValueMap." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KeyValueMap.html.

APA

Wolfram Language. (2015). KeyValueMap. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeyValueMap.html

BibTeX

@misc{reference.wolfram_2022_keyvaluemap, author="Wolfram Research", title="{KeyValueMap}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/KeyValueMap.html}", note=[Accessed: 03-July-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_keyvaluemap, organization={Wolfram Research}, title={KeyValueMap}, year={2015}, url={https://reference.wolfram.com/language/ref/KeyValueMap.html}, note=[Accessed: 03-July-2022 ]}