Instance.PropertyArray.removeInt()
Signature
boolean removeInt (PropertyArrayInt arr, int value)
Description
This method removes the first occurrence of PropertyAtomInt for which the current value
equals to value
from a PropertyArrayInt. It returns true and shifts all the
subsequent array elements PropertyAtomInt to the left (substracts one to their indices)
if the PropertyAtomInt is found, false otherwise.
Parameters
Name | Type | Description |
arr | PropertyArrayInt | A PropertyArrayInt for the action to be performed on. |
value | int | Current value of the PropertyAtomInt for removal. |
Returns
Type | Description |
boolean | if a PropertyAtomInt is removed. |