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

735 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