MarkLogic 12 EA 1 Product Documentation
xs.gYear.eqxs.gYear.eq(
value as xs.gYear
) as boolean
Summary
Equality comparison on xs.gYear values
Parameters |
value |
A year value.
|
Example
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.