Protocols
The following protocols are available globally.
-
Types which can be used for min()/max().
Declaration
Swift
public protocol MinMaxType {}
-
Types which can be used for average()/sum().
Declaration
Swift
public protocol AddableType {}