Contents

CMTIME_IS_NEGATIVEINFINITY(_:)

Returns a Boolean value that indicates whether a given time is negative infinity.

Declaration

func CMTIME_IS_NEGATIVEINFINITY(_ time: CMTime) -> Bool

Parameters

  • time:

    A time value to test.

Return Value

true if the time represents negative infinity; otherwise, false.

Discussion

Use this macro instead of testing whether a time is equal to negativeInfinity, because there are many times that negative positive infinity. This is because the system ignores nonflags fields, so they can contain anything.

See Also

Inspecting a Time