Skip to main content

Interval

Represents a mathematical interval with start, end, and optional step.

Sinceโ€‹

2.0.0


Exampleโ€‹

const timeInterval: Interval = {
start: 0,
end: 10,
step: 1
};

Propertiesโ€‹

start: numberโ€‹

Start value of the interval

end: numberโ€‹

End value of the interval

step?: numberโ€‹

Step size for progression (default: 1)