That part from the manual is what I meant, and I think it should definitely be added to the docstring.
issorted([1,2,2,3]) uses isless, which is a “lesser than” function, not a “lesser than or equal” function.
That part from the manual is what I meant, and I think it should definitely be added to the docstring.
issorted([1,2,2,3]) uses isless, which is a “lesser than” function, not a “lesser than or equal” function.