gusucode.com > datatypes 工具箱matlab源码程序 > datatypes/@timetable/issorted.m

    function tf = issorted(tt,~)
%ISSORTED TRUE for a sorted timeable.
%   ISSORTED(T) returns TRUE if rows of the timetable T are sorted by increasing
%   time (in other words, if T and SORTROWS(T) are identical) and FALSE if not.
%
%   See also SORTROWS, UNIQUE, ISMEMBER, INTERSECT, SETDIFF, SETXOR, UNION.

%   Copyright 2016 The MathWorks, Inc.

tf = issorted(tt.rowDim.labels);