Skip to main content
Temporal.PlainTime.prototype.round - Temporal - Web documentation
method Temporal.PlainTime.prototype.round
PlainTime.prototype.round(roundTo: RoundTo<
"hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond"
>
): Temporal.PlainTime

Parameters

roundTo: RoundTo<
"hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond"
>

Return Type