Skip to content
PACKAGES

isValueTier()

Value-tier messages (DATA/RESOLVED) occupy the tier-3 slot.

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

true when the value matches the expected shape.

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

packages/ts/src/protocol/messages.ts