# clearPin

Removes the pin, and closes its card if that is the active surface.

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

## Signature

```ts
import { clearPin } from "@mapcairn/core";
 
function clearPin(): SurfaceAction;
```

## Returns

`SurfaceAction`

## See also

- [`SurfaceAction`](https://docs.mapcairn.com/api/core/SurfaceAction.md)

Source: [packages/core/src/surface/surface.ts:171](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/surface/surface.ts#L171)
