Const
ISO 8601 or a number ↔ a dayjs Duration. The unit option is 'iso' (default), 's' or 'ms'. Each unit is kept on the wire. equals compares years, months, weeks and days per unit and the rest by length.
Duration
unit
'iso'
's'
'ms'
equals
ISO 8601 or a number ↔ a dayjs
Duration. Theunitoption is'iso'(default),'s'or'ms'. Each unit is kept on the wire.equalscompares years, months, weeks and days per unit and the rest by length.