IsPassportNumber(Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/IsPassportNumber.d.ts:12 Check if the string is a valid passport number relative to a specific country code. If given value is not a string, then it returns false.countryCode,validationOptions?):PropertyDecorator
Parameters
countryCode
string
validationOptions?
ValidationOptions
Returns
PropertyDecorator