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