app-workflow_engine

On this page:

arrayIncludes

Summary

Finds if an array contains an element.

Description

Determines whether an array includes a certain element, returning true or false as appropriate.

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 position in the array to begin searching for searchElement

Return

DetailsExampleSchema
Name Type Description
result boolean True if the value searchElement is found within the array; false otherwise