Skip to main content
IsAlphanumeric(locale?, validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/IsAlphanumeric.d.ts:13 Checks if the string contains only letters and numbers. If given value is not a string, then it returns false.

Parameters

locale?

AlphanumericLocale

validationOptions?

ValidationOptions

Returns

PropertyDecorator