SwiftfuncHealthKitHealthKit.HKSamplePredicate
sample
static HealthKit.HKSamplePredicate.sample(type: HKSampleType, predicate: NSPredicate?) -> HealthKit.HKSamplePredicate<HKSample>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0type:classHKSampleType
- 1predicate:enumSwift.Optional