KeySelect

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

Basic Examples  (3)

Select entries with odd keys:

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

Use the operator form of KeySelect:

Introduced in 2014
 (10.0)