MCPcopy Create free account
hub / github.com/facebook/Rapid / hasChanges

Method hasChanges

modules/core/EditSystem.js:771–773  ·  view source on GitHub ↗

* hasChanges * This counts meangful edits only (modified, created, deleted). * For example, we could perform a bunch of no-op edits and it would still return false. * @return {boolean} `true` if the user has made any meaningful edits

()

Source from the content-addressed store, hash-verified

769 * @return {boolean} `true` if the user has made any meaningful edits
770 */
771 hasChanges() {
772 return this._fullDifference.changes.size > 0;
773 }
774
775
776 /**

Callers 6

toJSONMethod · 0.95
toggleMethod · 0.80
isDisabledMethod · 0.80
renderMethod · 0.80
isDisabledMethod · 0.80
EditSystem.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected