exit

fun exit(time: Double): Double

Causes the state to be exited

Return

the time spent in the state as a double

Parameters

time

the time that the state was exited, must be >= time entered, >= 0, not Double.NaN not Double.Infinity