Skip to content
PACKAGES

isUpAllowed()

ctx.up carries control/demand tiers only (R-ctx-up / D269): DIRTY, PAUSE, RESUME, PULL, INVALIDATE, TEARDOWN. DATA/RESOLVED (tier 3) and COMPLETE/ERROR (tier 5) are down-only.

import { isUpAllowed } from "@graphrefly/ts/core";
function isUpAllowed(t: MessageType): boolean
ParameterTypeDescription
tMessageTypet value used by the helper.

true when the value matches the expected shape.

import { isUpAllowed } from "@graphrefly/ts/core";

packages/ts/src/protocol/messages.ts