containsNumber
Description
Checks if coordinates contains a number
Parameters
Name | Type | Description |
---|---|---|
coordinates | Array<any> | GeoJSON Coordinates |
Returns
boolean true if Array contains a number
Installation
$ npm install @turf/invariant
import { containsNumber } from "@turf/invariant";
const result = containsNumber(...);
$ npm install @turf/turf
import * as turf from "@turf/turf";
const result = turf.containsNumber(...);