init(mappingTransform:)
Declares support for the contains operator between an optional Array property and user-supplied values.
Declaration
init(mappingTransform: @escaping (InputType) -> ComparatorMappingType) where PropertyType : ExpressibleByNilLiteral, InputType : Equatable, InputType == PropertyType.UnwrappedType.Element, PropertyType.UnwrappedType : _SequenceIntentValue, PropertyType.UnwrappedType : SequenceParameters
- mappingTransform:
Closure that transforms the user-supplied value into the
ComparatorMappingTypeoutput type.