isYamlTag function Supported Schema Tags

bool isYamlTag(
  1. TagShorthand tag
)

Whether a tag is valid tag in the yaml schema. A yaml tag uses the TagHandleVariant.secondary handle.

Implementation

bool isYamlTag(TagShorthand tag) =>
    isYamlMapTag(tag) || isYamlSequenceTag(tag) || isYamlScalarTag(tag);