Skip to main content
Version: Next

isMultiPolygonFeature()

function isMultiPolygonFeature(feature): feature is Feature<MultiPolygon, GeoJsonProperties>

Check if object is a MultiPolygon. Any code inside a block guarded by a conditional call to this function will have type narrowed

Parameters

ParameterType
featureany

Returns

feature is Feature<MultiPolygon, GeoJsonProperties>