Skip to content

Commit

Permalink
docs: IsNumericString -> IsNumberString in README
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNameProvided committed Mar 17, 2018
1 parent 1a66acb commit d9896ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ _no new features in this release_

* fixed wrong type info in `ValidatorOptions`
* fixed wrong type info in `ValidationSchema` (the `options` key now is optional)
* corrected `IsNumericString` to `IsNumberString` in the README

### 0.8.0 [BREAKING CHANGE]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ validator.isInstance(value, target); // Checks value is an instance of the targe
| `@IsMobilePhone(locale: string)` | Checks if the string is a mobile phone number. |
| `@IsMongoId()` | Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. |
| `@IsMultibyte()` | Checks if the string contains one or more multibyte chars. |
| `@IsNumericString()` | Checks if the string is numeric. |
| `@IsNumberString()` | Checks if the string is numeric. |
| `@IsSurrogatePair()` | Checks if the string contains any surrogate pairs chars. |
| `@IsUrl(options?: IsURLOptions)` | Checks if the string is an url. |
| `@IsUUID(version?: "3"\|"4"\|"5")` | Checks if the string is a UUID (version 3, 4 or 5). |
Expand Down

0 comments on commit d9896ed

Please sign in to comment.