import { GeoCoordLike , isGeoCoordLike } from "./GeoCoordLike" ; beta internal export interface GeoPolygonLike { /**
     * Array of ccw sorted GeoCoordLike
     */ coordinates : GeoCoordLike [ ] ; } /**
 * Type guard to assert that `object` conforms to  GeoPolygonLike data interface.
 *
 *  beta internal export function isGeoPolygonLike ( object ) { if ( ! object || ( ! Array . isArray ( object . coordinates ) && object . coordinates . length > 2 ) ) { return false ; } let isValid = true ; object . coordinates . forEach ( ( coord ) => { if ( ! isGeoCoordLike ( object ) ) { isValid = false ; } } ) ; return isValid ; }