summaryrefslogtreecommitdiff
path: root/docs/type_system/fn.md
blob: 64c49db349d86fd049556093a0d74b9689e7c017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Fn

---

```text
Fn_class `alias Enum[.partial; .complete; .iterator; .closure; .bound; .regex; .native]

Fn[Fn_class; RETURN_TYPE; ARGS; STATE; List]
```

# Returning

## \`return

## \`yield

## \`error

# Calling

## \`async

## \`sync

```text
fn `sync args // `await fn `async args
```