(object: any, superJson: SuperJSON)
| 115 | } |
| 116 | |
| 117 | const isDeep = (object: any, superJson: SuperJSON): boolean => |
| 118 | isPlainObject(object) || |
| 119 | isArray(object) || |
| 120 | isMap(object) || |
| 121 | isSet(object) || |
| 122 | isError(object) || |
| 123 | isInstanceOfRegisteredClass(object, superJson); |
| 124 | |
| 125 | function addIdentity(object: any, path: any[], identities: Map<any, any[][]>) { |
| 126 | const existingSet = identities.get(object); |
no test coverage detected
searching dependent graphs…