Returns true if the CommitBuilder has non-empty changes (set, remove, destroy)
()
| 56 | |
| 57 | /** Returns true if the CommitBuilder has non-empty changes (set, remove, destroy) */ |
| 58 | hasUnsavedChanges(): boolean { |
| 59 | return ( |
| 60 | Object.keys(this.set).length > 0 || this.destroy || this.remove.length > 0 |
| 61 | ); |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Creates a clone of the CommitBuilder. This is required, because I want to |
no outgoing calls
no test coverage detected