Skip to main content
Version: Next

containsNumber

Description

Checks if coordinates contains a number

Parameters

NameTypeDescription
coordinatesArray<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(...);