( a: More<any> | undefined, b: More<any> | undefined )
| 4313 | |
| 4314 | /** @internal */ |
| 4315 | export const sameMore = ( |
| 4316 | a: More<any> | undefined, |
| 4317 | b: More<any> | undefined |
| 4318 | ): boolean => |
| 4319 | a === b || |
| 4320 | (a !== undefined && b !== undefined && a._tag === b._tag && |
| 4321 | (a._tag !== "Failed" || |
| 4322 | Equal.equals(a.error, (b as { readonly error: unknown }).error))) |
| 4323 | |
| 4324 | /** A cursor as the log shows it: encoded, or `undefined` when it doesn't encode. */ |
| 4325 | const logCursor = (list: ListDef, cursor: unknown): Schema.Json | undefined => { |
no test coverage detected