IsIP(Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/IsIP.d.ts:13 Checks if the string is an IP (version 4 or 6). If given value is not a string, then it returns false.version?,validationOptions?):PropertyDecorator
Parameters
version?
IsIpVersion
validationOptions?
ValidationOptions
Returns
PropertyDecorator