Cast extension

Utility method for casting any YamlSourceNode.

on

Methods

cast<T extends YamlSourceNode>() → T

Available on YamlSourceNode, provided by the Cast extension

Casts a generic YamlSourceNode to a valid (and known) subtype