Skip to content

Commit 86993af

Browse files
docs: correct typos in README
1 parent 24aa0fe commit 86993af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ isBoolean(value);
799799
| `@NotEquals(comparison: any)` | Checks if value not equal ("!==") comparison. |
800800
| `@IsEmpty()` | Checks if given value is empty (=== '', === null, === undefined). |
801801
| `@IsNotEmpty()` | Checks if given value is not empty (!== '', !== null, !== undefined). |
802-
| `@IsIn(values: any[])` | Checks if value is in a array of allowed values. |
803-
| `@IsNotIn(values: any[])` | Checks if value is not in a array of disallowed values. |
802+
| `@IsIn(values: any[])` | Checks if value is in an array of allowed values. |
803+
| `@IsNotIn(values: any[])` | Checks if value is not in an array of disallowed values. |
804804
| **Type validation decorators** | |
805805
| `@IsBoolean()` | Checks if a value is a boolean. |
806806
| `@IsDate()` | Checks if the value is a date. |
@@ -819,7 +819,7 @@ isBoolean(value);
819819
| `@MinDate(date: Date | (() => Date))` | Checks if the value is a date that's after the specified date. |
820820
| `@MaxDate(date: Date | (() => Date))` | Checks if the value is a date that's before the specified date. |
821821
| **String-type validation decorators** | |
822-
| `@IsBooleanString()` | Checks if a string is a boolean (e.g. is "true" or "false"). |
822+
| `@IsBooleanString()` | Checks if a string is a boolean (e.g. is "true" or "false" or "1", "0"). |
823823
| `@IsDateString()` | Alias for `@IsISO8601()`. |
824824
| `@IsNumberString(options?: IsNumericOptions)` | Checks if a string is a number. |
825825
| **String validation decorators** | |
@@ -871,12 +871,12 @@ isBoolean(value);
871871
| `@IsISO31661Alpha2()` | Checks if the string is a valid ISO 3166-1 alpha-2 officially assigned country code. |
872872
| `@IsISO31661Alpha3()` | Checks if the string is a valid ISO 3166-1 alpha-3 officially assigned country code. |
873873
| `@IsLocale()` | Checks if the string is a locale. |
874-
| `@IsPhoneNumber(region: string)` | Checks if the string is a valid phone numberusing libphonenumber-js. |
874+
| `@IsPhoneNumber(region: string)` | Checks if the string is a valid phone number using libphonenumber-js. |
875875
| `@IsMongoId()` | Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. |
876876
| `@IsMultibyte()` | Checks if the string contains one or more multibyte chars. |
877877
| `@IsNumberString(options?: IsNumericOptions)` | Checks if the string is numeric. |
878878
| `@IsSurrogatePair()` | Checks if the string contains any surrogate pairs chars. |
879-
| `@IsUrl(options?: IsURLOptions)` | Checks if the string is an url. |
879+
| `@IsUrl(options?: IsURLOptions)` | Checks if the string is a URL. |
880880
| `@IsMagnetURI()` | Checks if the string is a [magnet uri format](https://en.wikipedia.org/wiki/Magnet_URI_scheme). |
881881
| `@IsUUID(version?: "3"\|"4"\|"5"\|"all")` | Checks if the string is a UUID (version 3, 4, 5 or all ). |
882882
| `@IsFirebasePushId()` | Checks if the string is a [Firebase Push ID](https://firebase.googleblog.com/2015/02/the-2120-ways-to-ensure-unique_68.html) |

0 commit comments

Comments
 (0)