SwiftfuncHealthKitHealthKit.QueryableByIdHealthType

findOne

HealthKit.QueryableByIdHealthType.findOne(id: A.QueryByIdModelKind.WriteModelProtocol.IdentifierKind, in: HealthKit.QueryDescriptorEvaluator, completion: @Sendable (Result<A.QueryByIdModelKind, Error>) -> ()) -> HealthKit.QueryToken

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

A

param{}

  1. 0id:
    associatedTypeIdentifierKind
    • baseassociatedTypeQueryByIdModelKind
      • basegenericParameterA
  2. 1in:
    existentialQueryDescriptorEvaluator
  3. 2completion:
    function@Sendable (Result<A.QueryByIdModelKind, Error>) -> ()sendableescaping
    • paramenumSwift.Result
      • argassociatedTypeQueryByIdModelKind
        • basegenericParameterA
      • argexistentialError
    • returnstuple()

result{}