Node.remove
void remove(T)(T rhs)Remove first (if any) occurence of a value in a collection.
This method can only be called on collection nodes.
If the node is a sequence, the first node matching value is removed. If the node is a mapping, the first key-value pair where _value matches specified value is removed.
Parameters
rhs | Value to _remove. |
Throws
NodeException if the node is not a collection.