---
url: /api/kiln/functions/withLabel.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / withLabel

# Function: withLabel()

```ts
function withLabel(cond, label): Condition;
```

Gives a condition the label `kiln describe` prints for it.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `cond` | [`Condition`](../type-aliases/Condition.md) |
| `label` | `string` |

## Returns

[`Condition`](../type-aliases/Condition.md)
