UNPKG

type-comparator

Version:

Useful comparator functions written on Typescript

14 lines 271 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.asc = (a, b) => { if (a > b) { return 1; } else if (a < b) { return -1; } else { return 0; } }; //# sourceMappingURL=asc.comparator.js.map