* Check if name is a built-in type
(name: string)
| 2401 | * Check if name is a built-in type |
| 2402 | */ |
| 2403 | function isBuiltInType(name: string): boolean { |
| 2404 | return BUILT_IN_TYPES.has(name); |
| 2405 | } |
| 2406 | |
| 2407 | const BUILT_IN_TYPES = new Set([ |
| 2408 | 'Array', 'Boolean', 'Date', 'Error', 'Function', 'JSON', 'Math', 'Number', |
no test coverage detected