UNPKG

fc-react-slider

Version:
4 lines (3 loc) 103 B
export default function (newValue, oldValue, step) { return Math.abs(newValue - oldValue) >= step; }