Array.FindFirst(Variable) Method

Top 

Description

Finds the first index at which the specified value is present. If the value is not present in the array, -1 will be returned.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

Array.FindFirst(

Variable value)

 

 

Arguments

value


Description:

The value whose index to find.

 

 

 

Return Value

Type:

number

 

 

The first index at which the specified value is present, or -1 if the value is not present.

 

Syntax

myVariable1 = myArray1.FindFirst(myVariable2);

 

 

See also

Array Object

Matrix, Array, and Variable Math Guide