Skip to content

isLatLong returns true  #929

Closed
Closed

Description

validator = require('validator');
console.log(validator.isLatLong('(29.98727, 48.2268726')); // true

The above code returns true although there is a "(" character in Y coordinates and not closed in X coordinates. It would be better if it returns true if coordinates are wrapped in () only.

Activity

  1. added a commit that references this issue on Jul 29, 2019
    6a1d78d
  2. added a commit that references this issue on Aug 2, 2019
    47f3492
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions