Last updated 4 years ago
Was this helpful?
const inAscOrder = (arr) => !arr.some((e, i, arr) => e > arr[i + 1]);