Skip to content

yamlFindObjectsWithField

yamlFindObjectsWithField(yaml, fieldName) → array · YAML

Find all objects containing a specific field (recursive search). See Chapter 26.

  • yaml (required): YAML value

  • fieldName (required): field name to search for

utlx
yamlFindObjectsWithField($input, "image")
// all objects that have an "image" field

Released under AGPL-3.0.