areOrdered(_:_:)
Returns a Boolean that indicates whether the comparable types match the order’s state.
Declaration
func areOrdered<T>(_ lhs: T, _ rhs: T) -> Bool where T : ComparableParameters
- lhs:
A comparable type.
- rhs:
Another comparable type.