Download node_modules/d3-array/src/descending.js from NKessler/Horizon: direct link, hf CLI and curl.
- Browser
- Download file 144 Bytes
-
https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-array/src/descending.js
- Command line
-
hf download hf://NKessler/Horizon/node_modules/d3-array/src/descending.js
-
curl -L -o descending.js https://huggingface.co/NKessler/Horizon/resolve/main/node_modules/d3-array/src/descending.js
144 Bytes
| export default function descending(a, b) { | |
| return a == null || b == null ? NaN | |
| : b < a ? -1 | |
| : b > a ? 1 | |
| : b >= a ? 0 | |
| : NaN; | |
| } | |