IsEmpty returns true when patch has no operations.
()
| 108 | |
| 109 | // IsEmpty returns true when patch has no operations. |
| 110 | func (patch *JSON6902) IsEmpty() bool { return len(*patch) == 0 } |
| 111 | |
| 112 | // Type returns [types.JSONPatchType]. |
| 113 | func (patch *JSON6902) Type() types.PatchType { return types.JSONPatchType } |
no outgoing calls