RTRFieldPredicateBlock

This is a type definition for a user-defined validation block which will be called for further verification of the data (e.g. calculating the checksum) after it has passed the regular expression check.

A typical use for the validation block would be to calculate a checksum.

typedef BOOL (^RTRFieldPredicateBlock)(NSString* value);

Parameters

value
The string with the recognized text of the field.

Return values

The block must return TRUE if the data is correct, FALSE otherwise.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.