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