---
url: /api/kiln/type-aliases/Condition.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / Condition

# Type Alias: Condition

```ts
type Condition = (ctx) => boolean & object;
```

A run condition: `({ res }) => res.get(Score).value > 10`. Checked before each run of each system
it gates; false skips that run. `label` is how `kiln describe` shows it.

## Type Declaration

### label?

```ts
optional label?: string;
```
