WOLFRAM

KeySelect[assoc,crit]

selects elements in the association assoc for which crit applied to their keys is True.

KeySelect[crit]

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

Details

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

Select entries with odd keys:

Out[1]=1

Select entries from an association, using another association as a criterion:

Out[1]=1

Use the operator form of KeySelect:

Out[1]=1

Properties & Relations  (1)Properties of the function, and connections to other functions

Compute KeySelect in parallel:

Out[1]=1
Wolfram Research (2014), KeySelect, Wolfram Language function, https://reference.wolfram.com/language/ref/KeySelect.html.
Wolfram Research (2014), KeySelect, Wolfram Language function, https://reference.wolfram.com/language/ref/KeySelect.html.

Text

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

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

CMS

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

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

APA

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

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

BibTeX

@misc{reference.wolfram_2025_keyselect, author="Wolfram Research", title="{KeySelect}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KeySelect.html}", note=[Accessed: 08-July-2025 ]}

@misc{reference.wolfram_2025_keyselect, author="Wolfram Research", title="{KeySelect}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KeySelect.html}", note=[Accessed: 08-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_keyselect, organization={Wolfram Research}, title={KeySelect}, year={2014}, url={https://reference.wolfram.com/language/ref/KeySelect.html}, note=[Accessed: 08-July-2025 ]}

@online{reference.wolfram_2025_keyselect, organization={Wolfram Research}, title={KeySelect}, year={2014}, url={https://reference.wolfram.com/language/ref/KeySelect.html}, note=[Accessed: 08-July-2025 ]}