tomYamlSchemaRefOf function

String? tomYamlSchemaRefOf(
  1. String text
)

The schema text names in a # yaml-language-server: $schema= comment, or null when it names none. The reference is returned as written, to be resolved against the file's own folder.

Implementation

String? tomYamlSchemaRefOf(String text) =>
    _schemaComment.firstMatch(text)?.group(1);