powered by
is_decrease(x)
TRUE
FALSE
is_decrease(rev(c(1,1,1,10,10))) is_decrease(c(1,2,1,10,10))
Run the code above in your browser using DataLab