Skip to main content
Temporal.DurationOptions.overflow - Temporal - Web documentation
property Temporal.DurationOptions.overflow

How to deal with out-of-range values

  • In 'constrain' mode, out-of-range values are clamped to the nearest in-range value.
  • In 'balance' mode, out-of-range values are resolved by balancing them with the next highest unit.

The default is 'constrain'.

Type

"constrain" | "balance"