Contents

init(mappingTransform:)

Declares support for the hasPrefix operator between a String property and user-supplied values.

Declaration

init(mappingTransform: @escaping (InputType) -> ComparatorMappingType) where Property : EntityProperty<String>, PropertyType == String, InputType == String

Parameters

  • mappingTransform:

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

See Also

Creating a comparator