mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-15 11:13:09 -06:00
d4669246c7
* funcs/coalesce: return the first non-null, non-empty element from a sequence. The go-cty coalesce function, which was originally used here, returns the first non-null element from a sequence. Terraform 0.11's coalesce, however, returns the first non-empty string from a list of strings. This new coalesce function aims to preserve terraform's documented functionality while adding support for additional argument types. The tests include those in go-cty and adapted tests from the 0.11 version of coalesce. * website/docs: update coalesce function document |
||
---|---|---|
.. | ||
testdata | ||
cidr_test.go | ||
cidr.go | ||
collection_test.go | ||
collection.go | ||
conversion_test.go | ||
conversion.go | ||
crypto_test.go | ||
crypto.go | ||
datetime_test.go | ||
datetime.go | ||
encoding_test.go | ||
encoding.go | ||
filesystem_test.go | ||
filesystem.go | ||
number_test.go | ||
number.go | ||
string_test.go | ||
string.go |