ArrayUtility.IndexOf Manual     Reference     Scripting  
Scripting > Editor Classes > ArrayUtility
ArrayUtility.IndexOf

static function IndexOf.<T> (array : T[], value : T) : int

Returns

int - The zero-based index of the element, if found; otherwise -1.

Description

index of first element with value value