Skip to main content
NotContains(seed, validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/NotContains.d.ts:12 Checks if the string does not contain the seed. If given value is not a string, then it returns false.

Parameters

seed

string

validationOptions?

ValidationOptions

Returns

PropertyDecorator