validateVehiclePlate
function validateVehiclePlate(plate): boolean;Defined in: vehicle.ts:64
Validates the format of a Pakistani vehicle registration number. Checks the common shape only; see parseVehiclePlate.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
plate |
string |
Registration number to validate |
Returns
Section titled “Returns”boolean
true if the format is valid