Powered By GitBook
IS_IN_ARRAY
Is the given item in the source list?

Description

Given a list and an item whose schema matches the list's schema, return true if exactly that item can be found in the list, or false if it is not found.

Function signature

1
IS_IN_ARRAY(list: Array, item: ) => Boolean
Copied!
Parameter
Description
List
List to check item
Item
Item to check

Examples

1
array = [100,3,20]
Copied!
Formula
Return value
IS_IN_ARRAY(array, 3)
true
IS_IN_ARRAY(array, 1)
false
IS_IN_ARRAY([100, 3, { a: 10 }], { a: 10 })
true
Last modified 11mo ago
Export as PDF
Copy link