toip.tools

function · Browser and Node

whyUnsatisfied

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

@toip-tools/anon-membershipView source
TypeScriptImport
import { whyUnsatisfied } from "@toip-tools/anon-membership";

Declaration

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

Parameters

srequired
Statement
wrequired
Witness

Returns

string | null