MCPcopy Create free account
hub / github.com/microsoft/SandDance / numbers

Function numbers

docs/app/js/sanddance-app.js:110350–110357  ·  view source on GitHub ↗
(values, valueof)

Source from the content-addressed store, hash-verified

110348 return x === null ? NaN : +x;
110349};
110350function* numbers(values, valueof) {
110351 if (valueof === undefined) {
110352 for (let value of values)if (value != null && (value = +value) >= value) yield value;
110353 } else {
110354 let index = -1;
110355 for (let value of values)if ((value = valueof(value, ++index, values)) != null && (value = +value) >= value) yield value;
110356 }
110357}
110358
110359},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"a68i2":[function(require,module,exports) {
110360var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 3

quantilesFunction · 0.70
bootstrapCIFunction · 0.70
scaleBinOrdinalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected