# SwitchControlDefinition

An on and off choice. Its value is the string `true` or `false`.

This is an interface exported by `@mapcairn/sdk/browser`, checked against version 0.2.0.

## Signature

```ts
import type { SwitchControlDefinition } from "@mapcairn/sdk/browser";
 
interface SwitchControlDefinition extends ControlBase
```

## Properties

### default

```ts
readonly default: boolean;
```

Whether it starts on.

### kind

```ts
readonly kind: "switch";
```

Tells a switch from the other control kinds.

## See also

- [`ControlBase`](https://docs.mapcairn.com/api/sdk/browser/ControlBase.md)
