Vtc.Timecode.negate
You're seeing just the function
negate
, go back to Vtc.Timecode module for more information.
Specs
As the kernel -/1
function.
- Makes a positive
tc
value negative. - Makes a negative
tc
value positive.
Examples
iex> tc = Timecode.with_frames!("01:00:00:00", Rates.f23_98())
iex> Timecode.negate(tc) |> inspect()
"<-01:00:00:00 @ <23.98 NTSC NDF>>"
iex> tc = Timecode.with_frames!("-01:00:00:00", Rates.f23_98())
iex> Timecode.negate(tc) |> inspect()
"<01:00:00:00 @ <23.98 NTSC NDF>>"