function · Browser and Node

# findEquivocation

Two validly signed, different roots of one group with the same seq or epoch, if `docs` holds any. Checks no signatures.

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

Import:

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

## Declaration

Signature:

```ts
findEquivocation(docs: GroupRoot[]): [
    GroupRoot,
    GroupRoot
] | null;
```

### Parameters

- **`docs` (required)**: `GroupRoot[]`

### Returns

`[GroupRoot, GroupRoot] | 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/findEquivocation/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
