function · Browser and Node

# explain

One sentence per reason, then one for the outcome.

`@toip-tools/mandates` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/explain.ts#L124)

Import:

```ts
import { explain } from "@toip-tools/mandates";
```

## Declaration

Signature:

```ts
explain(d: Decision, o?: ExplainOptions): string[];
```

### Parameters

**`d` (required)**

`Decision`

**`o` (optional)**

`ExplainOptions`

Default: `{}`

### Returns

`string[]`

[Usage guide](https://toip.tools/toolkit/mandates/#usage) · [Error handling](https://toip.tools/toolkit/mandates/#errors) · [All exports](https://toip.tools/toolkit/mandates/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/explain/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
