(thing: unknown)
| 101 | ): type is 'string' | 'boolean' => type == STRING || type == BOOLEAN; |
| 102 | |
| 103 | export const isString = (thing: unknown): thing is string => |
| 104 | getTypeOf(thing) == STRING; |
| 105 | |
| 106 | export const isNumber = (thing: unknown): thing is number => |
| 107 | getTypeOf(thing) == NUMBER; |
no test coverage detected
searching dependent graphs…