UNPKG

@prelude/cmp

Version:

Cmp module.

13 lines (10 loc) 214 B
import type { R } from './prelude.js' /** @returns string comparision function. */ const string_ = (a: string, b: string): R => a > b ? 1 : a < b ? -1 : 0 export default string_