(type: ts.Type, flag: ts.TypeFlags)
| 134 | } |
| 135 | |
| 136 | export function hasFlag(type: ts.Type, flag: ts.TypeFlags): boolean { |
| 137 | return (type.flags & flag) === flag; |
| 138 | } |
| 139 | |
| 140 | export function isMap(type: ts.Type | null): boolean { |
| 141 | return !!(type && type.symbol?.name === 'Map'); |
no outgoing calls
no test coverage detected