isYearMonth property

bool get isYearMonth

Whether this duration is an xs:yearMonthDuration.

Implementation

bool get isYearMonth => type.isSubtypeOf(xsYearMonthDuration);