ArrayContains_v2 Op

ArrayContains

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


This returns the index of the first occurance. If multiple needed, use Ops.Array.ArrayFindStrings


Full Name
  • Ops.Array.ArrayContains_v2
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


INPUT PORTS


Array (Array)

Array in that will be searched through

SearchValue (Number)

the string to look for

OUTPUT PORTS


Found (booleanNumber)

Returns true if string is in array otherwise false

Index (Number)

The index number where the string was found in the array


 

Patches using ArrayContains_v2

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Array.ArrayContainsuser avatarsimod - 2021-04-28 15:44
Ops.User.simod.ArrayContains_v2 renamed to Ops.Array.ArrayContains_v2user avatarsimod - 2021-04-28 15:48