UNPKG
@mui/x-charts-vendor
Version:
latest (8.19.0)
next (8.0.0-beta.3)
8.19.0
8.18.0
8.15.0
8.14.1
8.14.0
8.12.0
8.11.3
8.11.0
8.6.0
8.5.3
8.5.2
8.5.1
8.4.0
8.3.1
8.3.0
8.0.0
8.0.0-beta.3
8.0.0-beta.1
8.0.0-beta.0
8.0.0-alpha.13
8.0.0-alpha.10
8.0.0-alpha.8
8.0.0-alpha.7
8.0.0-alpha.5
8.0.0-alpha.4
8.0.0-alpha.3
8.0.0-alpha.1
8.0.0-alpha.0
7.20.0
7.19.0
7.18.0
7.16.0
7.15.0
7.14.0
7.13.0
7.12.1
7.12.0
Vendored dependencies for MUI X Charts.
github.com/mui/mui-x
mui/mui-x
@mui/x-charts-vendor
/
lib-vendor
/
d3-array
/
src
/
descending.js
9 lines
(8 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= descending;
function
descending
(
a, b
) {
return
a ==
null
|| b ==
null
?
NaN
: b < a ? -
1
: b > a ?
1
: b >= a ?
0
:
NaN
; }