array find x

Operand types

array: Array
x: Any Value

Type of returned value

Description

Returns the position of the first array element that matches x, returns -1 if not found.

Used In

ArmA

Example

[7, 3, 9] find 1

Result is 1
Search OFPEC COMREF