(obj)
| 7 | } |
| 8 | |
| 9 | export function isObject(obj) { |
| 10 | return Object.prototype.toString.call(obj) === '[object Object]'; |
| 11 | } |
| 12 | |
| 13 | export function isValidLatlng(coord) { |
| 14 | return isArray(coord) && coord.length === 2 && coord[0] >= -180 && coord[0] <= 180 && coord[1] >= -90 && coord[1] <= 90; |
no outgoing calls
no test coverage detected