BUILT-IN WOLFRAM LANGUAGE SYMBOL
generates a list of associations in which only elements whose keys appear in all the associ are retained.
- KeyIntersection returns a list of associations in which all the associations have keys ordered in the same way.
- The keys appear in order of their first occurrence in the sequence of associ.
- KeyIntersection can be used not only on Association objects, but also on lists of rules.
Generate a list of associations with common keys:
Generate associations from lists:
Generate associations from a mixed set:
KeyIntersection reorders keys to be in the same order:
Introduced in 2014