( thing: unknown, cls: MapConstructor | SetConstructor | ObjectConstructor, )
| 54 | export const isInteger = number.isInteger; |
| 55 | |
| 56 | export const isInstanceOf = ( |
| 57 | thing: unknown, |
| 58 | cls: MapConstructor | SetConstructor | ObjectConstructor, |
| 59 | ): boolean => thing instanceof cls; |
| 60 | |
| 61 | export const isNullish = (thing: unknown): thing is undefined | null => |
| 62 | thing == null; |
no outgoing calls
no test coverage detected
searching dependent graphs…