MCPcopy
hub / github.com/vuejs/core / runIfDirty

Method runIfDirty

packages/reactivity/src/effect.ts:219–223  ·  view source on GitHub ↗

* @internal

()

Source from the content-addressed store, hash-verified

217 * @internal
218 */
219 runIfDirty(): void {
220 if (isDirty(this)) {
221 this.run()
222 }
223 }
224
225 get dirty(): boolean {
226 return isDirty(this)

Callers 1

triggerMethod · 0.95

Calls 2

runMethod · 0.95
isDirtyFunction · 0.85

Tested by

no test coverage detected