app-workflow_engine

On this page:

arrayIndexOf

Summary

Finds the starting index of an element.

Description

Returns the first index at which a given element can be found in the array, or -1 if it is not present.

Route

No Northbound API Available

Roles

Parameters

DetailsExampleSchema
Name Type Required Description
arr array yes The array to search
searchElement * yes The element to search for
fromIndex number no The index to start the search at

Return

DetailsExampleSchema
Name Type Description
index number The first index of the element in the array; -1 if not found