MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isBuiltInType

Function isBuiltInType

src/resolution/frameworks/react.ts:2381–2383  ·  view source on GitHub ↗

* Check if name is a built-in type

(name: string)

Source from the content-addressed store, hash-verified

2379 * Check if name is a built-in type
2380 */
2381function isBuiltInType(name: string): boolean {
2382 return BUILT_IN_TYPES.has(name);
2383}
2384
2385const BUILT_IN_TYPES = new Set([
2386 'Array', 'Boolean', 'Date', 'Error', 'Function', 'JSON', 'Math', 'Number',

Callers 2

resolveFunction · 0.85
lazyModulesFunction · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected