Skip to main content

time

Function time 

Source
pub fn time(ticks: f64) -> Result<MediaTime, String>
Expand description

Ticks from a JavaScript number that is whole and within the safe-integer range.

ยงErrors

Refuses a number that is not finite, not whole, or beyond the safe-integer range.