function · Browser and Node

# whyUnsatisfied

Why a witness can't satisfy a statement, or null. The circuit enforces the same rules.

`@toip-tools/anon-membership` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/anon-membership/src/statement.ts#L96)

Import:

```ts
import { whyUnsatisfied } from "@toip-tools/anon-membership";
```

## Declaration

Signature:

```ts
whyUnsatisfied(s: Statement, w: Witness): string | null;
```

### Parameters

- **`s` (required)**: `Statement`
- **`w` (required)**: `Witness`

### Returns

`string | null`

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

---

This is the Markdown version of https://toip.tools/toolkit/anon-membership/api/whyUnsatisfied/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
