SwiftinitFoundationFoundation.KeyPathComparator
init
Foundation.KeyPathComparator.init<A, B where A1 == B1.Compared, B1: Foundation.SortComparator>(_: KeyPath<A, A1?>, comparator: B1) -> Foundation.KeyPathComparator<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
ABA1B1
req{}
- sameType==genericParameter
A1associatedTypeCompared- basegenericParameter
B1
- conformance:genericParameter
B1protocolFoundation.SortComparator
param{}
- 0_classSwift.KeyPath
- arggenericParameter
A - arggenericParameter
A1
- 1comparator:genericParameter
B1
result{}
- arggenericParameter
A