Files
opentf/website/docs/configuration/functions/contains.html.md
Martin Atkins e7d71995f6 website: Document the remaining "collection" functions
This also renames some of the existing function pages whose source
filenames were not matching the usual naming scheme (.html.md).
2018-10-16 18:47:33 -07:00

454 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
functions contains function docs-funcs-collection-contains The contains function determines whether a list contains a given value.

contains Function

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

contains(list, value)

Examples

> contains(["a", "b", "c"], "a")
true
> contains(["a", "b", "c"], "d")
false