istimeseries
datatypes: TF = istimeseries (X)
True if input is a timeseries object, false otherwise.
TF = istimeseries (X) always returns a logical scalar,
irrespective of the size of X, so it is true for an array of
timeseries objects too. MATLAB has no such function; it is provided
as isduration and istimetable are for their classes.
See also: timeseries, isa
Source Code: istimeseries