function isLatLon (object) {
  return (!!object && 
      typeof object.lat === 'number' && 
      typeof object.lon === 'number')
}
/**
 * Test whether an object is an object containing numeric properties `lat` and `lon`
 * @param {*} object Anything
 * @param {boolean} Returns true when object is of type LatLon
 */
Test whether an object is an object containing numeric properties `lat` and `lon`
@param {*} object Anything
@param {boolean} Returns true when object is of type LatLon
Test whether an object is an object containing numeric properties ` lat ` and ` lon ` @param { * } object Anything @param { boolean } Returns true when object is of type LatLon
function isLatLon (object) {
  return (!!object && 
      typeof object.lat === 'number' && 
      typeof object.lon === 'number')
}
function isLatLon ( object ) { return ( ! ! object && typeof object . lat === 'number' && typeof object . lon === 'number' ) }
Test whether an object is an object containing numeric properties `lat` and `lon`
 @param {*} object Anything
 @param {boolean} Returns true when object is of type LatLon
Test whether an object is an object containing numeric properties ` lat ` and ` lon ` @param { * } object Anything @param { boolean } Returns true when object is of type LatLon