site/node_modules/d3-quadtree/src/x.js

8 lines
138 B
JavaScript
Raw Normal View History

2024-10-14 08:09:33 +02:00
export function defaultX(d) {
return d[0];
}
export default function(_) {
return arguments.length ? (this._x = _, this) : this._x;
}