Method Reference: calendarDuration.isscalar

calendarDuration: TF = isscalar (calD)

Return true if calendarDuration array is a scalar.

TF = isscalar (calD) returns a logical scalar TF, which is true if the calendarDuration array calD is also a scalar and false otherwise. A scalar is a single element object for which size (X) returns [1, 1].

Source Code: calendarDuration