Home Manual Reference Source

src/compare/increasing.js

export const increasing = (a, b) => (a < b ? -1 : a === b ? 0 : 1);