Open alecgibson opened 2 years ago
This change adds support for the optional, but recommended invertWithDoc(op, doc) -> op' method.
invertWithDoc(op, doc) -> op'
json0 itself already inverts fine without the doc, just using the invert() method, but this change adds support for subtypes, which only implement invertWithDoc().
json0
invert()
invertWithDoc()
This change adds support for the optional, but recommended
invertWithDoc(op, doc) -> op'
method.json0
itself already inverts fine without the doc, just using theinvert()
method, but this change adds support for subtypes, which only implementinvertWithDoc()
.