Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ghettovoice committed Sep 29, 2022
1 parent 640a84a commit 6ab5067
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ol-ext/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ export function isGeoJSONFeature (feature) {

export function isGeoJSONGeometry (geometry) {
return isPlainObject(geometry) &&
Object.values(GeometryType).includes(geometry.type) &&
geometry.geometries
? geometry.geometries.every((geometry) => isArray(geometry.coordinates))
: isArray(geometry.coordinates)
Object.values(GeometryType).includes(geometry.type) &&
geometry.geometries
? geometry.geometries.every((geometry) => isArray(geometry.coordinates))
: isArray(geometry.coordinates)
}

0 comments on commit 6ab5067

Please sign in to comment.