Instance.PropertyArray.removeConceptReference()

Signature

boolean removeConceptReference (PropertyArrayConceptReference arr, Concept instance)

Domain

ACTION, BUI

Description

This method removes the first occurrence of PropertyAtomConceptReference for which the current value is set to instance from a PropertyArrayConceptReference. It returns true and shifts all the subsequent array elements PropertyAtomConceptReference to the left (substracts one to their indices) if the PropertyAtomConceptReference is found, false otherwise.

Parameters

NameTypeDescription
arrPropertyArrayConceptReferenceA PropertyArrayConceptReference for the action to be performed on.
instanceConceptCurrent value of the PropertyAtomConceptReference for removal.

Returns

TypeDescription
booleanif a PropertyAtomConceptReference is removed.

Cautions

none