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