Skip to content

yamlExists

yamlExists(yaml, path) → boolean · YAML

Check if a path exists in a YAML structure. See Chapter 26.

  • yaml (required): YAML value

  • path (required): dot-separated path

utlx
yamlExists($input, "database.host")      // true or false

Released under AGPL-3.0.