# wrapLongitude

Brings a longitude into [-180, 180), the range stored, exported and shared.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { wrapLongitude } from "@mapcairn/core";
 
function wrapLongitude(lng: number): number;
```

## Parameters

- `lng` (`number`)

## Returns

`number`

Source: [packages/core/src/globe/longitude.ts:6](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/globe/longitude.ts#L6)
