Skip to main content

Rf_isUnsorted

Function Rf_isUnsorted 

Source
pub unsafe fn Rf_isUnsorted(x: SEXP, strictly: Rboolean) -> c_int
Expand description

Check if a vector is unsorted.

§Parameters

  • x: Vector to check
  • strictly: If TRUE, check for strictly increasing Checked wrapper for Rf_isUnsorted. Calls Rf_isUnsorted_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 2643, column 12. Generated from source file miniextendr-api/src/sys.rs.