Skip to main content

Function: collectYamlStringScalars()

function collectYamlStringScalars(
node: YAMLContent | YAMLWithMeta | null | undefined
): readonly string[];

Defined in: _internal/yaml-traversal.ts:49

Collect every string scalar value from a YAML subtree.

Parametersโ€‹

nodeโ€‹

YAMLContent | YAMLWithMeta | null | undefined

Returnsโ€‹

readonly string[]