mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-16 03:19:59 -04:00
`Any()` allows any single passing validation of multiple `SchemaValidateFunc` to pass validation to cover cases where a standard validation function does not cover the functionality or to make error messaging simpler. Example provider usage: ```go ValidateFunc: validation.Any( validation.IntAtLeast(42), validation.IntAtMost(5), ), ``` |
||
|---|---|---|
| .. | ||
| validation.go | ||
| validation_test.go | ||