You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -922,7 +922,10 @@ validator.isInstance(value, target); // Checks value is an instance of the targe
922
922
| `@IsISIN()` | Checks if the string is an ISIN (stock/security identifier). |
923
923
| `@IsISO8601()` | Checks if the string is a valid ISO 8601 date. |
924
924
| `@IsJSON()` | Checks if the string is valid JSON. |
925
-
| `@IsLowercase()` | Checks if the string is lowercase. |
925
+
| `@IsLowercase()` | Checks if the string is lowercase.
926
+
| `@IsLatLong()` | check if the string is a valid latitude-longitude coordinate in the format lat,long
927
+
| `@IsLatitude()` | check if the string or number is a valid latitude coordinate
928
+
| `@IsLongitude()` | check if the string or number is a valid longitude coordinate
926
929
| `@IsMobilePhone(locale:string)` | Checks if the string is a mobile phone number. |
927
930
| `@IsISO31661Alpha2()` | Check if the string is a valid [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) officially assigned country code. |
928
931
| `@IsISO31661Alpha3()` | Check if the string is a valid [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) officially assigned country code. |
0 commit comments