isVIN function

bool isVIN(
  1. String str
)

check if the string is a valid ISO 3779-compliant Vehicle identification number (VIN)

Implementation

bool isVIN(String str) {
  VIN vin = VIN(number: str);
  return vin.valid();
}