Instance.PropertyArray.indexOfDouble()

Signature

int indexOfDouble(PropertyArrayDouble arr, double value)

Domain

ACTION, CONDITION, QUERY, BUI

Description

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

Parameters

NameTypeDescription
arrPropertyArrayDoubleThe PropertyArrayDouble for searching.
valuedoubleThe specified double value to search for.

Returns

TypeDescription
intThe index of value in the given PropertyArrayDouble.

Cautions

none