Contents

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 : Comparable

Parameters

  • lhs:

    A comparable type.

  • rhs:

    Another comparable type.

See Also

Getting the Properties