docs: explicitly mention equality in contains docs (#35592)

pull/35598/head
Brandon Croft 2 years ago committed by GitHub
parent e3e7796a83
commit 99f4596e34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,8 +5,10 @@ description: The contains function determines whether a list or set contains a g
# `contains` Function
`contains` determines whether a given list or set contains a given single value
as one of its elements.
`contains` determines whether the list, tuple, or set given in its first
argument contains at least one element that is equal to the value in the second
argument, using the same definition of equality as the `==` operator described in
[Equality Operators](/terraform/language/expressions/operators#equality-operators).
```hcl
contains(list, value)

Loading…
Cancel
Save