# tys.mode

> "test" or "live", from the key prefix ("unknown" for other formats).

Source: https://docs.tryyoursize.com/reference/python/mode/

*Property* · `tryyoursize`

`"test"` or `"live"`, from the key prefix (`"unknown"` for other formats).

```python
@property
def mode() -> str
```

## Example

**Python**

```python
if tys.mode == "live":
    enable_order_sync()
```

**Node.js**

```ts
if (tys.mode === "live") enableOrderSync();
```
