Contents

init(mappingTransform:)

Declares support for the contains operator between a AttributedString? property and user-supplied values.

Declaration

init(mappingTransform: @escaping (InputType) -> ComparatorMappingType) where PropertyType : ExpressibleByNilLiteral, InputType == AttributedString, PropertyType.UnwrappedType == AttributedString

Parameters

  • mappingTransform:

    Closure that transforms the user-supplied value into the ComparatorMappingType output type.