Contains tester
[data/array/Contains tester]
Tests whether the array contains a given item Example: Example:
[1,2]@0 received via
array
1@0 received via
item
true@0 sent via
contains
Keywords: include
Input ports
array:
any[]
Recieves array look for the item in. Example: [1,2]
item:
any
Recieves item to find in the array. Example: 1
Output ports
contains:
boolean
Sends whether the
item
was found in thearray
. Example: true
Last updated