min(ofProperty:)
public func min<T: MinMaxType>(ofProperty property: String) -> T?
Returns the minimum (lowest) value of the given property among all the linking objects, or nil
if the linking
objects are empty.
Warning
Only a property whose type conforms to the MinMaxType
protocol can be specified.
-
Declaration
Swift
public func min<T: MinMaxType>(ofProperty property: String) -> T?