(type: Type)
| 62 | } |
| 63 | |
| 64 | export function isString(type: Type) { |
| 65 | return hasFlag(type, TypeFlags.String); |
| 66 | } |
| 67 | |
| 68 | export function isStringLiteral(type: Type) { |
| 69 | return hasFlag(type, TypeFlags.StringLiteral) && !type.isUnion(); |
no test coverage detected
searching dependent graphs…