List:remove
Removes an object from the List.
Removes an object from the List.
list = list:remove( obj )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
obj |
any | Object to remove |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
list |
List|nil | Returns self if removed; nil if the object was not in the List |