beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ArrayContains_v2 Op

Ops.Array.ArrayContains_v2


ArrayContains
Namespace: Ops.Array

Op author: simod

check if array contains a string or number (find,search,indexOf)




Inputs

Array (Array)

Array in that will be searched through

SearchValue (string /Number)

the string to look for

Outputs

Found (Number)

Returns true if string is in array otherwise false

Index (Number)

The index number where the string was found in the array

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

ArrayContains example

Open Example In Editor

Patches using ArrayContains_v2

Changelog


cloned op from Ops.Array.ArrayContains
2021-04-28 - simod
Ops.User.simod.ArrayContains_v2 renamed to Ops.Array.ArrayContains_v2
2021-04-28 - simod