(x: unknown)
| 7 | |
| 8 | type KeyedCollection = Set<unknown> | Map<unknown, unknown>; |
| 9 | function isKeyedCollection(x: unknown): x is KeyedCollection { |
| 10 | return x instanceof Set || x instanceof Map; |
| 11 | } |
| 12 | |
| 13 | function constructorsEqual(a: object, b: object) { |
| 14 | return a.constructor === b.constructor || |