type · Browser and Node

# Predicate

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

Import:

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

## Declaration

type:

```ts
type Predicate =
  | { op: "any" }
  | { op: "eq"; value: Field }
  | { op: "gte"; value: bigint } // below 2^64
  | { op: "lte"; value: bigint };
```

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