calendarDuration.ismissing
calendarDuration: TF = ismissing (calD)
Find missing data in a calendarDuration array.
Missing values in calendarDuration arrays are represented by NaN,
thus TF = ismissing (calD) is equivalent to
TF = isnan (calD).
Note: ismissing for calendarDuration arrays does not support a
second Indicator argument.
Source Code: calendarDuration
For a calendar duration ismissing is the same test as isnan: a NaN span is the missing value, so calendar durations plug into the generic missing-data tools.
d = calmonths ([1, NaN, 3])
d =
1x3 calendarDuration array
1mo NaN 3mo
ismissing (d)
ans = 0 1 0