Rapport-Laravel/node_modules/d3-array/src/number.js

4 lines
63 B
JavaScript

export default function(x) {
return x === null ? NaN : +x;
}