MCPcopy
hub / github.com/thesysdev/openui / isBuiltin

Function isBuiltin

packages/lang-core/src/parser/builtins.ts:215–217  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

213
214/** Check if a name is a builtin function (not a component) */
215export function isBuiltin(name: string): boolean {
216 return BUILTIN_NAMES.has(name);
217}
218
219/** Reserved statement-level call names — not builtins, not components */
220export const RESERVED_CALLS = { Query: "Query", Mutation: "Mutation" } as const;

Callers 5

isComponentStatementFunction · 0.90
materializeExprInternalFunction · 0.90
materializeValueFunction · 0.90
serializeASTNodeFunction · 0.90
parsePrefixFunction · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected