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

Function isStringLiteral

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

Source from the content-addressed store, hash-verified

915} as const;
916
917export function isStringLiteral(item: unknown): item is StringLiteral {
918 return reflection.isInstance(item, StringLiteral.$type);
919}
920
921export interface ThisExpr extends langium.AstNode {
922 readonly $container: Argument | ArrayExpr | AttributeArg | BinaryExpr | FieldInitializer | FunctionDecl | MemberAccessExpr | ReferenceArg | UnaryExpr;

Callers 8

getStringLiteralFunction · 0.90
typeAssignableFunction · 0.90
isLiteralJsonStringFunction · 0.90
_checkRegexMethod · 0.90
validateFieldMethod · 0.90
parseRelationMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected