Disassociate elements
- Last Updated: August 10, 2020
- 1 minute read
- Corticon
- Documentation
SYNTAX
<Collection1> -= <Collection2>
<Collection2> from <Collection1>. Elements are not deleted, but once disassociated from
<Collection1>, they are moved to the root
level of the data. <Collection1> must be
expressed as a unique alias. Contrast this behavior with remove, which deletes elements
entirely.The Operators row of the table in Vocabulary usage restrictions does not apply. Special exceptions: disassociate element may only be used in Action Rows (section 5 in Sections of Rulesheet that correlate with usage restrictions).
This sample Rulesheet removes those elements fromcollection1 whose boolean1 value is
true.![]()
A sample Ruletest provides a collection with three elements. The illustration shows Input and Output panels:
![]()