Optional
extension Optional : Comparable, Equatable where Wrapped == UnitAmount
-
Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
This function is the only requirement of the
Comparableprotocol. The remainder of the relational operator functions are implemented by the standard library for any type that conforms toComparable.Declaration
Swift
static func < (lhs: UnitAmount?, rhs: UnitAmount?) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
View on GitHub
Install in Dash
Optional Extension Reference