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

Function isDataModel

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

Source from the content-addressed store, hash-verified

436} as const;
437
438export function isDataModel(item: unknown): item is DataModel {
439 return reflection.isInstance(item, DataModel.$type);
440}
441
442export interface DataModelAttribute extends langium.AstNode {
443 readonly $container: DataModel | Enum | TypeDef;

Callers 15

isRelationshipFieldFunction · 0.90
isDelegateModelFunction · 0.90
getRecursiveBasesFunction · 0.90
getDataModelAndTypeDefsFunction · 0.90
getContainingDataModelFunction · 0.90
isMemberContainerFunction · 0.90
getAllFieldsFunction · 0.90
getAllAttributesFunction · 0.90
addLocalSymbolMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected