## Arguments

- x
A

`<dist_spec>`

.- id
Integer; the id of the distribution to get parameters of (if x is a composite distribution). If

`x`

is a single distribution this is ignored and can be left as`NULL`

.

## Examples

```
dist <- Gamma(shape = 3, rate = 2, max = 10)
get_distribution(dist)
#> [1] "gamma"
```