Parse the input as a stream of YAML documents.
Documents should be separated from each other by ... or --- marker lines.
...
---
Optional
If an empty docs array is returned, it will be of type EmptyStream and contain additional stream information. In TypeScript, you should use 'empty' in docs as a type guard for it.
docs
'empty' in docs
Parse the input as a stream of YAML documents.
Documents should be separated from each other by
...
or---
marker lines.