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.
Parameters
Section titled “Parameters”source
Section titled “source”string
options?
Section titled “options?”ParseOptions & DocumentOptions & SchemaOptions
Returns
Section titled “Returns”YamlDocument<YamlNode, true>[]