source: node_modules/victory-vendor/lib-vendor/d3-array/src/ascending.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 220 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = ascending;
7function ascending(a, b) {
8 return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
9}
Note: See TracBrowser for help on using the repository browser.