Documentation ¶
Index ¶
Constants ¶
View Source
const DurationTag = iolang.BasicTag("Duration")
DurationTag is the Tag for Duration objects.
Variables ¶
This section is empty.
Functions ¶
func ArgAt ¶
func ArgAt(vm *iolang.VM, m *iolang.Message, locals *iolang.Object, n int) (time.Duration, *iolang.Object, iolang.Stop)
ArgAt evaluates the nth argument and returns it as a time.Duration. If a stop occurs during evaluation, the duration will be zero, and the stop status and result will be returned. If the evaluated result is not a Duration, the result will be zero, and an exception will be returned with an ExceptionStop.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.