Contents

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 == String

Parameters

  • mappingTransform:

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

See Also

Creating a comparator