Skip to content

yamlKeys

yamlKeys(object) → array · YAML

Get all keys from a YAML object. See Chapter 26.

  • object (required): YAML object
utlx
yamlKeys($input)                         // ["apiVersion", "kind", "metadata", "spec"]

Released under AGPL-3.0.