init(withResolvers:mappingTransform:)
Declares support for the contains operator between a AttributedString property and user-supplied values.
Declaration
init<Spec>(@ResolverSpecificationBuilder<AttributedString.UnwrappedType> withResolvers resolvers: @escaping () -> Spec, mappingTransform: @escaping (InputType) -> ComparatorMappingType) where Property : EntityProperty<AttributedString>, PropertyType == AttributedString, InputType == AttributedString, Spec : ResolverSpecificationParameters
- resolvers:
Set of
Resolvers to apply when converting user input to the targetValuetype. - mappingTransform:
Closure that transforms the user-supplied value into the
ComparatorMappingTypeoutput type.