IsCodPhone (class-validator adapter)
const IsCodPhone: (options) => PropertyDecorator = pk.codPhone;Defined in: adapters/class-validator.ts:81
Validates a mobile number a courier can call: valid, and with no
phoneRiskSignals flag. See pk.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
ValidationOptions |
Returns
Section titled “Returns”PropertyDecorator