trendlist.simple.is_mono_inc2

trendlist.simple.is_mono_inc2(s: list[int]) bool

List is monotonically increasing.

There’s more than one way to skin a cat.

Args:

s: the sequence to evaluate

Returns:

True iff the sequence is monotonically increasing.