MCPcopy
hub / github.com/chartjs/Chart.js / hasValue

Method hasValue

src/core/core.element.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 }
21
22 hasValue() {
23 return isNumber(this.x) && isNumber(this.y);
24 }
25
26 /**
27 * Gets the current or final value of each prop. Can return extra properties (whole object).

Callers 2

averageFunction · 0.80
nearestFunction · 0.80

Calls 1

isNumberFunction · 0.85

Tested by

no test coverage detected