Rxova
Skip to content

compareISO

function compareISO(a, b): number;

Chronological comparison, done as a string comparison.

Correct because the format is fixed-width and big-endian. HH:mm and HH:mm:ss are compared on their shared prefix, so a bound given without seconds still orders correctly against a value that has them.

ParameterType
astring
bstring

number