access the uuid property in query

I am running a Healthkit query. 
I can get the value but how do I access the uuid??? I want to access "90A68DE6-A0E1-473B-944B-1132F447C57D". 
How do I get this???
results:
Code Block ([6 mg/dL 90A68DE6-A0E1-473B-944B-1132F447C57D "Health" (14.2), "iPhone12,1" (14.2)metadata: {
HKWasUserEntered = 1;
} (2021-02-22 09:12:00 +0800 - 2021-02-22 09:12:00 +0800)


Code Block let query = HKSampleQuery(sampleType: glucoseType!, predicate: predicate, limit: 20, sortDescriptors: nil) { (query, results, error) in
for result in results as! [HKQuantitySample] {
let bloodGlucose = result.quantity.description // this gives the value "6mg/dL"
}



Why don't you simply access the property uuid?
Code Block
for result in results as! [HKQuantitySample] {
let uuid = result.uuid
print(uuid)
let bloodGlucose = result.quantity.description
//...
}



By the way, what is the type of results? You should better avoid risky forced casting as! as far as you can.
access the uuid property in query
 
 
Q