> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lookup

> Rechercher la valeur d'une propriété dans un enregistrement

## Présentation

La transformation `lookup` récupère la valeur d'une propriété d'un enregistrement (objet). Elle renvoie la valeur de la propriété spécifiée sous forme de chaîne de caractères.

## Syntaxe

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
lookup(<variable>, property="")
```

## Paramètres

| Paramètre  | Type   | Requis | Description                                                 |
| ---------- | ------ | ------ | ----------------------------------------------------------- |
| `variable` | object | Oui    | L'enregistrement/objet dans lequel rechercher une propriété |
| `property` | string | Oui    | Le nom de la propriété à récupérer                          |

## Exemples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
lookup(<variable>, property="name")
lookup(<variable>, property="email")
```
