toip.tools

function · Browser and Node

simpleStatement

Defaults that make a statement mean "a current member of this group": tipline's case.

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

Declaration

TypeScriptSignature
simpleStatement(s: {
    groups: {
        groupId: Field;
        root: Field;
    }[];
    scope: Field;
    signal: Field;
    today: number;
}): Statement;

Parameters

srequired
{ groups: { groupId: Field; root: Field; }[]; scope: Field; signal: Field; today: number; }

Returns