1.1.1 • Published 7 years ago
array-is-sorted v1.1.1
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.