-
Notifications
You must be signed in to change notification settings - Fork 0
Yhaojing/array-is-sorted
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# array-is-sorted A small module to check if an Array is sorted. ## Example ``` javascript import sorted from "array-is-sorted" console.log(sorted([1, 3, 4])) // => true console.log(sorted([3, 2, 1], 'DESC')) // => true console.log(sorted({a: [1]})) // => error ``` ## License This library is free and open-source software released under the MIT license.
About
A small module to check if an Array is sorted.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published