Loading TOC...

xs.date.le

xs.date.le(
   value as xs.date
) as boolean

Summary

Less-than or equal comparison on xs.date values

Parameters
value A date value.

Example

const v1 = xs.date('2013-08-15');
const v2 = xs.date('2012-04-01');
v1.le(v2);

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