If true
, together with test
allows for values to be stringified without
an explicit tag. For most cases, it's unlikely that you'll actually want to
use this, even if you first think you do.
If a tag has multiple forms that should be parsed and/or stringified
differently, use format
to identify them.
The identifier for your data type, with which its stringified form will be
prefixed. Should either be a !-prefixed local !tag
, or a fully qualified
tag:domain,date:foo
.
Used by YAML.createNode
to detect your data type, e.g. using typeof
or
instanceof
.
Turns a value into an AST node.
If returning a non-Node
value, the output will be wrapped as a Scalar
.
Generated using TypeDoc
The source collection type supported by this tag.