Check if the vector is sorted numerically or alphanumerically
Source:R/predicates.R
is_incrementing.Rd
`NA`s are not ignored and any vector with `NA`s will fail unless the whole vector is `NA`.
Examples
is_incrementing(1:5) # TRUE
#> [1] TRUE
is_incrementing(letters[1:5]) # TRUE
#> [1] TRUE
is_incrementing(c(4, 3, 0)) # FALSE
#> [1] FALSE