Home Manual Reference Source

src/compare/decreasing.js

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