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

ArrayContains Op

Ops.Array.ArrayContains


ArrayContains
Namespace: Ops.Array

Op author: pandur

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Array.ArrayContains_v2

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


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

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 Documentationcancel save

ArrayContains example

Open Example In Editor


Patches using ArrayContains