is-monotonic
checks that a given sequence is strictly increasing or decreasing
Example
const isMonotonicIncreasing isMonotonicDecreasing = // true // false // true // false
checks that a given sequence is strictly increasing or decreasing
const isMonotonicIncreasing isMonotonicDecreasing = // true // false // true // false
npm i is-monotonic
2
1.0.0
MIT
3.29 kB
5