File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -839,9 +839,9 @@ validator.isJSON(str); // Checks if the string is valid JSON (note: uses JSON.pa
839839validator.isObject(object); // Checks if the object is valid Object (null, functions, arrays will return false)
840840validator.isNotEmptyObject(object); // Checks if the object is not empty
841841validator.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
845845validator.isMobilePhone(str, locale); // Checks if the string is a mobile phone number.
846846validator.isISO31661Alpha2(str); // Check if the string is a valid ISO 3166-1 alpha-2
847847validator.isISO31661Alpha3(str); // Check if the string is a valid ISO 3166-1 alpha-3
You can’t perform that action at this time.
0 commit comments