array-is-sorted
v1.1.1
Published
A small module to check if an Array is sorted.
Downloads
3
Readme
array-is-sorted
A small module to check if an Array is sorted.
Example
import sorted from "array-is-sorted"
console.log(sorted([1, 3, 4]))
// => true
console.log(sorted({a: [1]}))
// => error
License
This library is free and open-source software released under the MIT license.