Skip to content

Commit 077ccf9

Browse files
Kiliandecavlapo
authored andcommitted
docs: fix manual validation LatLong descriptions (#443)
1 parent a98f5dd commit 077ccf9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -839,9 +839,9 @@ validator.isJSON(str); // Checks if the string is valid JSON (note: uses JSON.pa
839839
validator.isObject(object); // Checks if the object is valid Object (null, functions, arrays will return false)
840840
validator.isNotEmptyObject(object); // Checks if the object is not empty
841841
validator.isLowercase(str); // Checks if the string is lowercase.
842-
validator.isLatLong(str); // Checks if the string is lowercase.
843-
validator.isLatitude(str); // Checks if the string is lowercase.
844-
validator.isLongtitude(str); // Checks if the string is lowercase.
842+
validator.isLatLong(str); // Checks if the string is a valid latitude-longitude coordinate in the format lat,long
843+
validator.isLatitude(str); // Checks if the string or number is a valid latitude coordinate
844+
validator.isLongtitude(str); // Checks if the string or number is a valid longitude coordinate
845845
validator.isMobilePhone(str, locale); // Checks if the string is a mobile phone number.
846846
validator.isISO31661Alpha2(str); // Check if the string is a valid ISO 3166-1 alpha-2
847847
validator.isISO31661Alpha3(str); // Check if the string is a valid ISO 3166-1 alpha-3

0 commit comments

Comments
 (0)