Skip to content

tm_contains Function

tm_contains determines whether a given list or set contains a given single value as one of its elements.

hcl
tm_contains(list, value)

Examples

sh
tm_contains(["a", "b", "c"], "a")
true
tm_contains(["a", "b", "c"], "d")
false