---
title: "checkValidLongitudeLatitude()"
canonical: "https://onesaitplatform.refined.site/space/DOCT/2220800766/checkValidLongitudeLatitude()"
format: markdown
---
> ℹ️ **Information**
> ℹ️ 
> ℹ️ Implementation version: beta 1.09

# Description

Check whether a given list corresponds to certain longitude and latitude values or not. If so, it will return a 'true', and if not, a 'false'.

# Invocation

```javascript
checkValidLongitudeLatitude(coordinates)
```

# Input parameters

## coordinates

List containing the two numerical values to be checked; the first between the values -180 and 180, and the second between the values -90 and 90.

# Use examples

Check a given coordinate:

```javascript
checkValidLongitudeLatitude(
	[-15,90]
)
```

![image](media://15df8c55-686f-4b54-973e-bc46a34e5874)