MCPcopy Create free account
hub / github.com/react-native-maps/react-native-maps / isAnyLineStringFeature

Function isAnyLineStringFeature

src/Geojson.tsx:489–492  ·  view source on GitHub ↗
(
  feature: Feature,
)

Source from the content-addressed store, hash-verified

487 feature.geometry.type === 'MultiLineString';
488
489const isAnyLineStringFeature = (
490 feature: Feature,
491): feature is Feature<LineString> | Feature<MultiLineString> =>
492 isLineStringFeature(feature) || isMultiLineStringFeature(feature);
493
494const isPolygonFeature = (feature: Feature): feature is Feature<Polygon> =>
495 feature.geometry.type === 'Polygon';

Callers

nothing calls this directly

Calls 2

isLineStringFeatureFunction · 0.85
isMultiLineStringFeatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…