You are viewing documentation for version v1.8.x. View latest version.
contains determines whether a given list or set contains a given single value as one of its elements.
contains
contains(list, value)
> contains(["a", "b", "c"], "a") true > contains(["a", "b", "c"], "d") false
On this page: