squiggle/packages/website/docs/Api/Duration.md
2022-06-05 13:59:45 -07:00

746 B

sidebar_position title
10 Duration

toString

(duration):string

minutes

(number):duration

hours

(number):duration

days

(number):duration

years

(number):duration

toHours

(duration):number

toMinutes

(duration):number

toDays

(duration):number

toYears

(duration):number

add

(duration, duration):duration

subtract

(duration, duration):duration

multiply

(duration, duration):duration

divide

(duration, duration):duration