init(mappingTransform:)
Declares support for the contains operator between a AttributedString property and user-supplied values.
Declaration
init(mappingTransform: @escaping (InputType) -> ComparatorMappingType) where Property : EntityProperty<AttributedString>, PropertyType == AttributedString, InputType == AttributedStringParameters
- mappingTransform:
Closure that transforms the user-supplied value into the
ComparatorMappingTypeoutput type.