Determines if an array contains a valid set of numbers for representing latitude and longitude coordinates
MIT License
Determines if an array contains a valid set of numbers for representing latitude and longitude coordinates
$ npm install --save is-coordinates
const isCoordinates = require('is-coordinates')
isCoordinates([45.266486, -72.147989])
// yep
isCoordinates('unicorns')
// nope
Type: array
Coordinates.
Type: boolean
Default: false
Validate range (-180/180, -90/90)
MIT 2016 Pier-Luc Gendreau