We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d68fb9 commit f5d812dCopy full SHA for f5d812d
1 file changed
packages/turf-boolean-valid/index.ts
@@ -51,7 +51,7 @@ function booleanValid(feature: Feature<any> | Geometry) {
51
}
52
return true;
53
case "MultiLineString":
54
- if (coords.length < 2) return false;
+ if (coords.length < 1) return false;
55
for (var i = 0; i < coords.length; i++) {
56
if (coords[i].length < 2) return false;
57
0 commit comments