minimumQuantity()
Returns the minimum value from all the samples that match the query.
Declaration
func minimumQuantity() -> HKQuantity?Return Value
If the discreteMin option was set, this method returns a quantity object containing the minimum value from all the samples matching the query; otherwise, it returns nil.