Loading TOC...

xs.yearMonthDuration.eq

xs.yearMonthDuration.eq(
   $value as xs.yearMonthDuration
) as boolean

Summary

Equality comparison on xs.yearMonthDuration values

Parameters
$value A year month duration.

Example

const v1 = xs.yearMonthDuration("P3Y7M");
const v2 = xs.yearMonthDuration("P1Y4M");
v1.eq(v2);

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.