polars.Series.is_sorted#

Series.is_sorted(*, descending: bool = False) bool[source]#

Check if the Series is sorted.

Parameters:
descending

Check if the Series is sorted in descending order