delete¶
Deletes a item from a map< K, V >, list< T >, or set< T >.
Parameters:
No. | Type | Comments |
---|---|---|
1 | map< K, V >, list< T > or set< T > | The object containing data to be deleted |
2 | A map key, list index or set element object | A value depending on the 1st parameter |
Returns:
void
- no result.
Usages:
delete( v:list<T>, index:int ) : void
delete( v:set<T>, element:T ) : void
delete( v:map<K, V>, key:K ) : void