mySelection.empty() in D3.js
Test if there are any DOM elements in the selection.
- Return Type
- Boolean
Description
For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-empty.
Test if there are any DOM elements in the selection.
For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-empty.