milliseconds

Returns a Duration representing the specified value number of milliseconds.

Since Kotlin

1.5

Returns a Duration representing the specified value number of milliseconds.

Since Kotlin

1.5

Throws

if the provided Doublevalue is NaN.