Files
frontend/src/common/string/compare.ts
Paulus Schoutsen 9299d548ba Convert common dir to TS (#2580)
* Convert common dir to TS

* Lint

* Update setup-leaflet-map.ts
2019-01-27 10:40:46 -08:00

11 lines
110 B
TypeScript

export default (a, b) => {
if (a < b) {
return -1;
}
if (a > b) {
return 1;
}
return 0;
};