schemaCheckerSource

tcmts.core.schema.schemaCheckerSource · #jsruig2e · term · runs anywhere

The value checker as standalone source text, for runtimes that can't import tcm (the generated #tcm/host module): built from these functions' own source, so it's the same code wherever tcm runs from.

import { checkValue, describe, summary } from "#codebase/tcmts/core/schema";

export function schemaCheckerSource(): string {
  return `${checkValue}\n${summary}\n${describe}\n`;
}

uses

used by