init(mappingTransform:)
Declares support for the hasSuffix operator between a String? property and user-supplied values.
Declaration
init(mappingTransform: @escaping (InputType) -> ComparatorMappingType) where PropertyType : ExpressibleByNilLiteral, InputType == String, PropertyType.UnwrappedType == StringParameters
- mappingTransform:
Closure that transforms the user-supplied value into the
ComparatorMappingTypeoutput type.