# shouldOfferTour

Whether to offer the tour on this page load: the person has not answered
this version, storage will remember the answer, and the address carries no
shared view, layers or shapes (a person following a link wants the map they
were sent). A link with only a basemap still gets the offer.

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

## Signature

```ts
import { shouldOfferTour } from "@mapcairn/core";
 
function shouldOfferTour(input: {
    readonly seen: number | null;
    readonly version: number;
    readonly link: UrlStateValue;
    readonly persistent: boolean;
}): boolean;
```

## Parameters

- `input` (`{
    readonly seen: number | null;
    readonly version: number;
    readonly link: UrlStateValue;
    readonly persistent: boolean;
}`): The fields, by name:
   - `link`: The address state read once at start.

## Returns

`boolean`

## See also

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

Source: [packages/core/src/tour/tour.ts:108](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/tour/tour.ts#L108)
