xs.yearMonthDuration.gt

xs.yearMonthDuration.gt(
   value as xs.yearMonthDuration
) as boolean

Summary

Greater-than comparison on xs.yearMonthDuration values

Parameters
value A year month duration.

Example

const v1 = xs.yearMonthDuration("P3Y7M");
const v2 = xs.yearMonthDuration("P1Y4M");
v1.gt(v2);
Powered by MarkLogic Server | Terms of Use | Privacy Policy