English
Appearance
(-> text-t text-t int-t)
Lexicographic comparison. Returns -1 if the first is less than the second, 0 if equal, 1 if greater.
-1
0
1
(text-compare-lexical "a" "b") ;; => -1 (text-compare-lexical "a" "a") ;; => 0 (text-compare-lexical "b" "a") ;; => 1