> For the complete documentation index, see [llms.txt](https://artfulbits-se.gitbook.io/typescript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://artfulbits-se.gitbook.io/typescript/main-1/currying.md).

# Currying

Карирування

Використовуйте ланцюжок функцій-стрілок:

```ts
// функція каріровання
let add = (x: number) => (y: number) => x + y;

// легке використання
add(123)(456);

// часткове використання
let add123 = add(123);

// повне використання
add123(456);
```
