(l: Schema, r: Schema)
| 4 | |
| 5 | /** every value l accepts, r accepts (false if that can't be proven) */ |
| 6 | export const isSubset = (l: Schema, r: Schema): boolean => |
| 7 | parse(l).extends(parse(r)) |
| 8 | |
| 9 | /** l and r accept the same values (false if that can't be proven) */ |
| 10 | export const isEqual = (l: Schema, r: Schema): boolean => |
no test coverage detected