Loading TOC...

xs.gYearMonth.eq

xs.gYearMonth.eq(
   value as xs.gYearMonth
) as boolean

Summary

Equality comparison on xs.gYearMonth values

Parameters
value A year month value.

Example

const v1 = xs.gYearMonth('2013-08');
const v2 = xs.gYearMonth('2012-04');
v1.eq(v2);

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