verticesCollinear
Whether every position lies on one straight line (or there are fewer than three), so no area can be enclosed.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { verticesCollinear } from "@mapcairn/core";
function verticesCollinear(vertices: readonly LatLng[]): boolean;
Parameters
vertices(readonly LatLng[])
Returns
boolean