Array Find Value#

Searches for a value in an array, returns the index of the first occurrence of the value, or -1 if not found.

Installation#

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs#

Name

Type

Description

Default

Array (array)

arrays, bool[]

The array to be searched

value

array_elements, bool

The value to be found

Outputs#

Name

Type

Description

Default

Index (index)

int

The index of the first occurrence of value, or -1 if not found