Skip to content

issorted

general · scripts/general/issorted.m

: tf = issorted (A)
: tf = issorted (A, dim)
: tf = issorted (A, direction)
: tf = issorted (A, "rows")
: tf = issorted (…, Name, Value)

Return true when A is sorted. Prefer issortedrows when checking row order with additional options.