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

Function isEnum

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

Source from the content-addressed store, hash-verified

491} as const;
492
493export function isEnum(item: unknown): item is Enum {
494 return reflection.isInstance(item, Enum.$type);
495}
496
497export interface EnumField extends langium.AstNode {
498 readonly $container: Enum;

Callers 11

customAcceptorMethod · 0.90
resolveDataFieldMethod · 0.90
highlightElementMethod · 0.90
validateProviderMethod · 0.90
validateBinaryExprMethod · 0.90
validateFieldsMethod · 0.90
syncEnumsFunction · 0.90
syncTableFunction · 0.90
consolidateEnumsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected