isPolygonLiteral()
function isPolygonLiteral<P>(input): input is PolygonLiteral<P>
Predicate for checking if a GeoJSON object is a Polygon geometry.
Type Parameters
| Type Parameter | Default type |
|---|---|
P extends PolygonPath | PolygonPath |
Parameters
| Parameter | Type |
|---|---|
input | unknown |
Returns
input is PolygonLiteral<P>