isYamlDocument
constisYamlDocument: <T>(node) =>node is YamlDocument<T>
Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/nodes/identity.d.ts:16
The yaml node, tag and visitor model, re-exported so a caller can write a
custom tag without taking its own dependency on yaml.
Names are Yaml-prefixed rather than kept as upstream. This package’s index
is a flat export *, so a bare Node, Document, Scalar or Schema
would sit beside YamlParseStream and parseYaml under names that say
nothing about YAML — and Node and Document are DOM globals, which this
package, being portable, is expected to be imported alongside.
Type Parameters
Section titled “Type Parameters”Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”node is YamlDocument<T>