We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Compare two strings in current locale.
const localeCompare = require('@extra-string/locale-compare'); // localeCompare(<string-1>, <string-2>) localeCompare('abra', 'bulbasaur'); // -1 localeCompare('bulbasaur', 'bulbasaur'); // 0 localeCompare('charmeleon', 'bulbasaur'); // 1