7/8/2023 0 Comments Imei validation check# Throws an error (bad International Mobile Equipment Identity (IMEI) number). This method must take a single argument, the value to be validated further, it must do nothing if the value is valid, but throw an error if the value is invalid: valtype::imei validate. For example, snit::integer, a validation type defined by the snit package is used to validate that a Tcl value is an integer.Įvery validation type has a validate method which is used to do the validation. This package implements a snit validation type for an IMEI.Ī validation type is an object that can be used to validate Tcl values of a particular kind. Valtype::imei checkdigit value Description
0 Comments
Leave a Reply. |