Instance.PropertyArray.indexOfInt()

Signature

int indexOfInt(PropertyArrayInt arr, int value)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Returns the index in the PropertyArrayInt of the first occurrence of the specified int value, or -1 if the PropertyArrayInt does not contain this int value.

Parameters

NameTypeDescription
arrPropertyArrayIntThe PropertyArrayInt for searching.
valueintThe specified int value to search for.

Returns

TypeDescription
intThe index of value in the given PropertyArrayInt.

Cautions

none