xs.yearMonthDuration.lt( value as xs.yearMonthDuration ) as boolean
Less-than comparison on xs.yearMonthDuration values.
Parameters | |
---|---|
value | A year month duration. |
const v1 = xs.yearMonthDuration("P3Y7M"); const v2 = xs.yearMonthDuration("P1Y4M"); v1.lt(v2);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.