Skip to main content

constructor Constructor

Initiates a new Interval object instance with the specified settings.

Declaration

constructor(
    start?: number,
    length?: number
)

Parameters

Name Type Description
start number

The interval’s start position.

length number

The interval’s length.

See Also