(obj: unknown)
| 75 | isToastComponent(obj)); |
| 76 | |
| 77 | const isDOMRect = (obj: unknown): obj is DOMRect => |
| 78 | isObject(obj) && |
| 79 | isNumber(obj.height) && |
| 80 | isNumber(obj.width) && |
| 81 | isNumber(obj.right) && |
| 82 | isNumber(obj.left) && |
| 83 | isNumber(obj.top) && |
| 84 | isNumber(obj.bottom); |
| 85 | |
| 86 | const hasProp = <O extends unknown, K extends PropertyKey>( |
| 87 | obj: O, |
no test coverage detected
searching dependent graphs…