Small Nest.js-based project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
test-assignment-joyn/src/utils/stringHelpers.ts

8 lines
201 B

export const areStringsEqual = (a: string, b: string) => {
return (
a.localeCompare(b, undefined, {
usage: 'search',
sensitivity: 'base',
}) === 0
);
};