Loading TOC...

xs.gYear.eq

xs.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 iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.