1.1.1 • Published 7 years ago

array-is-sorted v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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.

1.1.1

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago