tm_alltrue
Function
-> Note: This function is available in Terraform 0.14 and later.
tm_alltrue
returns true
if all elements in a given collection are true
or "true"
. It also returns true
if the collection is empty.
hcl
tm_alltrue(list)
Examples
command
tm_alltrue(["true", true])
true
tm_alltrue([true, false])
false