UNPKG

d2-ui

Version:
8 lines (6 loc) 106 B
function d3_number(x) { return x === null ? NaN : +x; } function d3_numeric(x) { return !isNaN(x); }