(obj)
| 132 | * @returns {ParsedObject<T>} parsed object |
| 133 | */ |
| 134 | const cachedParseObject = (obj) => { |
| 135 | const entry = parseCache.get(obj); |
| 136 | if (entry !== undefined) return entry; |
| 137 | const result = parseObject(obj); |
| 138 | parseCache.set(obj, result); |
| 139 | return result; |
| 140 | }; |
| 141 | |
| 142 | /** @typedef {{ [p: string]: { [p: string]: EXPECTED_ANY } } | DynamicFunction} ByObject */ |
| 143 |
no test coverage detected