A comparator for natural sorting of strings. Internal digits are parsed as BigInt to avoid overflow.
A comparator for natural sorting of strings. Internal digits are parsed as BigInt to avoid overflow.
(natural-compare a b)
(natural-compare cmp a b)
Compares two strings using natural sorting.
Compares two strings using natural sorting.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |