Instance.PropertyArray.indexOfBoolean()

Signature

int indexOfBoolean(PropertyArrayBoolean arr, boolean value)

Domain

ACTION, CONDITION, QUERY, BUI

Description

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

Parameters

NameTypeDescription
arrPropertyArrayBooleanThe PropertyArrayBoolean for searching.
valuebooleanThe specified boolean value to search for.

Returns

TypeDescription
intThe index of value in the given PropertyArrayBoolean.

Cautions

none