@@ -853,7 +853,7 @@ validator.isMongoId(str); // Checks if the string is a valid hex-encoded represe
853
853
validator.isMultibyte(str); // Checks if the string contains one or more multibyte chars.
854
854
validator.isSurrogatePair(str); // Checks if the string contains any surrogate pairs chars.
855
855
validator.isURL(str, options); // Checks if the string is an url.
856
- validator.isUUID(str, version); // Checks if the string is a UUID (version 3, 4 or 5 ).
856
+ validator.isUUID(str, version); // Checks if the string is a UUID (version 3, 4, 5 or all ).
857
857
validator.isUppercase(str); // Checks if the string is uppercase.
858
858
validator.length(str, min, max); // Checks if the string's length falls in a range.
859
859
validator.minLength(str, min); // Checks if the string's length is not less than given number.
@@ -950,7 +950,7 @@ validator.isInstance(value, target); // Checks value is an instance of the targe
950
950
| ` @IsNumberString ()` | Checks if the string is numeric. |
951
951
| ` @IsSurrogatePair ()` | Checks if the string contains any surrogate pairs chars. |
952
952
| ` @IsUrl (options ? : IsURLOptions )` | Checks if the string is an url. |
953
- | ` @IsUUID (version ? : " 3" \| " 4" \| " 5" )` | Checks if the string is a UUID (version 3, 4 or 5 ). |
953
+ | ` @IsUUID (version ? : " 3" \| " 4" \| " 5" \ | " all " )` | Checks if the string is a UUID (version 3, 4, 5 or all ). |
954
954
| ` @IsUppercase ()` | Checks if the string is uppercase. |
955
955
| ` @Length (min : number , max ? : number )` | Checks if the string's length falls in a range. |
956
956
| ` @MinLength (min : number )` | Checks if the string's length is not less than given number. |
0 commit comments