Temporal.PlainTime.prototype.round - 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