# CasOps

`interface` in `types` · v0.13.0

<https://docs.seedcord.org/packages/types/0.13.0/interfaces/cas-ops>

```ts
interface CasOps
```

## Methods

### cas

```ts
async cas(
    key: string,
    version: number,
    value: string | null
): Promise<boolean>
```

### get

```ts
async get(
    key: string
): Promise<{
    value: string | null;
    version: number;
}>
```
