Contents

CMTimeRangeContainsTimeRange(_:otherRange:)

Returns a Boolean value that indicates whether a time range contains another time range.

Declaration

func CMTimeRangeContainsTimeRange(_ range: CMTimeRange, otherRange: CMTimeRange) -> Bool

Parameters

  • range:

    The first time range to compare.

  • otherRange:

    The second time range to test for inclusion.

Return Value

true if range1 contains range2; otherwise, false.

See Also

Comparing Time Ranges