Enumeration
RangeResult
Type used by
Range and Count validators to indicate where a value fell within a range.enum RangeResult<T> where T : Comparable
Topics
Enumeration Cases
case between(min: T, max: T)The value was betweenminandmax.case greaterThanMax(T)The value was greater thanmax.case greaterThanOrEqualToMin(T)The value was greater than or equal tomin.case lessThanMin(T)The value was less thanmin.case lessThanOrEqualToMax(T)The value was less than or equal tomax.
Relationships
Conforms To
Swift.EquatableSwift.SendableSwift.SendableMetatype