Wolfram Language & System 11.0 (2016)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
generates an association in which only elements whose keys appear in assocall but not in any of the associ are retained.
- KeyComplement preserves the order of the elements in assocall.
- KeyComplement can be used not only on Association objects, but also on lists of rules.
- KeyComplement[assocall,assoc1,…,SameTest->test] applies test to each pair of keys of the elements in assocall and the associ to determine whether they should be considered the same.
Introduced in 2015