# problems

function in `@dioramajs/effects/effect`

```ts
import { problems } from '@dioramajs/effects/effect'
```

What is wrong with a definition, empty when nothing is.

```ts
function problems(def: EffectDefinition<ParamSpec>): string[]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `def` | `EffectDefinition<ParamSpec>` |  |

Defined in [packages/effects/src/effect.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/effect.ts#L157).
