Range
extension Range where Bound == HTTPStatusCode
-
Checks if a value is within a range of HTTP status codes.
Declaration
Swift
public static func ~= (range: Range<HTTPStatusCode>, value: Int) -> BoolParameters
rangeThe range of HTTP status codes to check against.
valueThe value to check against the range.
Return Value
trueif the value is within the range, otherwisefalse.
View on GitHub