Skip to main content

constructor Constructor

In This Article

Initiates a new Interval object instance with the specified settings.

#Declaration

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

#Parameters

Name Type Description
start number

The interval’s start position.

length number

The interval’s length.

See Also