
xs.gYear.eq( value as xs.gYear ) as boolean
Equality comparison on xs.gYear values
| Parameters | |
|---|---|
| value | A year value. |
const v1 = xs.gYear('2013');
const v2 = xs.gYear('2012');
v1.eq(v2);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.