xs.gYear.eq( value as xs.gYear ) as boolean
Equality comparison on xs.gYear values
const v1 = xs.gYear('2013'); const v2 = xs.gYear('2012'); v1.eq(v2);