Skip to content

Commit

Permalink
commented out toLowerCase and toUpperCase
Browse files Browse the repository at this point in the history
because they seem not to be implemented
  • Loading branch information
JacobWeisenburger committed Mar 1, 2023
1 parent a6b44ed commit a1fc3fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -599,11 +599,11 @@ z.string().regex(regex);
z.string().startsWith(string);
z.string().endsWith(string);
z.string().trim(); // trim whitespace
z.string().toLowerCase(); // toLowerCase
z.string().toUpperCase(); // toLowerCase
z.string().datetime(); // defaults to UTC, see below for options
z.string().ip(); // defaults to IPv4 and IPv6, see below for options
```
<!-- z.string().toLowerCase(); // toLowerCase -->
<!-- z.string().toUpperCase(); // toUpperCase -->

> Check out [validator.js](https://github.com/validatorjs/validator.js) for a bunch of other useful string validation functions that can be used in conjunction with [Refinements](#refine).
Expand Down

0 comments on commit a1fc3fb

Please sign in to comment.