Contents

contains(_:)

Returns a Boolean value indicating whether the given value is contained by the ranges in the range set.

Declaration

func contains(_ value: Bound) -> Bool

Parameters

  • value:

    The value to look for in the range set.

Return Value

true if value is contained by a range in the range set; otherwise, false.

Discussion