tf = iscalendarduration(A)
| Parameter | Description |
|---|---|
| inputs | Any Nelson value. |
| Parameter | Description |
|---|---|
| output | A logical scalar. |
Test whether an input is a calendarDuration array.
Calendar durations represent calendar months, days, and seconds. This predicate distinguishes them from elapsed-time duration arrays.
Array-valued inputs keep their data shape when the operation supports arrays. Scalar operands are expanded where the implementation defines scalar expansion.
iscalendarduration(calmonths(2))
iscalendarduration(days(2))
| Version | Description |
|---|---|
| 2.0.0 | initial version |