Closed sckott closed 9 years ago
E.g.,
geojsonhint.hint(<object>, expected = "point")
Would be nice to be able to not only know if the geojson passes the linter, but if the object passed in is actually a Point if you expect it to be - Perhaps this is out of scope.
Point
This is equivalent to
!geojsonhint.hint(<object>).length && <object>.type === 'Point';
Which I think is more clear
@tmcw thanks, makes sense
E.g.,
Would be nice to be able to not only know if the geojson passes the linter, but if the object passed in is actually a
Point
if you expect it to be - Perhaps this is out of scope.