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

Function isEnumField

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

Source from the content-addressed store, hash-verified

510} as const;
511
512export function isEnumField(item: unknown): item is EnumField {
513 return reflection.isInstance(item, EnumField.$type);
514}
515
516export type Expression = ArrayExpr | BinaryExpr | InvocationExpr | LiteralExpr | MemberAccessExpr | NullExpr | ObjectExpr | ReferenceExpr | ThisExpr | UnaryExpr;
517

Callers 7

isEnumFieldReferenceFunction · 0.90
customAcceptorMethod · 0.90
resolveReferenceMethod · 0.90
highlightElementMethod · 0.90
getDelegateMapValueMethod · 0.90
getMappedValueMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected