Skip to content

parseAllYamlDocuments

parseAllYamlDocuments(source, options?): YamlDocument<YamlNode, true>[]

Defined in: packages/format-yaml/src/parse.ts:70

Parses all YAML documents from a multi-document string.

Error-tolerant in the same way as parseYamlDocument.

string

ParseOptions & DocumentOptions & SchemaOptions

YamlDocument<YamlNode, true>[]