Loading TOC...

xs.dayTimeDuration.le

xs.dayTimeDuration.le(
   $value as xs.dayTimeDuration
) as boolean

Summary

Less-than or equal comparison on xs.dayTimeDuration values

Parameters
$value A day time duration.

Example

const v1 = xs.dayTimeDuration("P5DT4H");
const v2 = xs.dayTimeDuration("P1DT1H");
v1.le(v2);

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

Comments