MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / isModel

Function isModel

packages/language/src/generated/ast.ts:710–712  ·  view source on GitHub ↗
(item: unknown)

Source from the content-addressed store, hash-verified

708} as const;
709
710export function isModel(item: unknown): item is Model {
711 return reflection.isInstance(item, Model.$type);
712}
713
714export interface ModelImport extends langium.AstNode {
715 readonly $container: Model;

Callers 2

resolveImportFunction · 0.90
getContainingModelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected