validate_checkdigit

Description Syntax Parameters Returns Example
Validates a set of digits against a format. validate_checkdigit(checkdigitType, inputValue) checkdigitType: Standard to verify against.

inputValue: String.

true - string gets validated against the format.

false - otherwise.

validate_checkdigit(GTIN-14, GTIN)