MCPcopy Create free account
hub / github.com/d3/d3-array / empty

Function empty

src/cross.js:5–7  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

3}
4
5function empty(length) {
6 return !(length > 0);
7}
8
9function arrayify(values) {
10 return typeof values !== "object" || "length" in values ? values : Array.from(values);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…