Instance.PropertyArray.removeInt()

Signature

boolean removeInt (PropertyArrayInt arr, int value)

Domain

ACTION, BUI

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

NameTypeDescription
arrPropertyArrayIntA PropertyArrayInt for the action to be performed on.
valueintCurrent value of the PropertyAtomInt for removal.

Returns

TypeDescription
booleanif a PropertyAtomInt is removed.

Cautions

none