@threadplane/chatFunctionv0.3.4

isPathRef

Returns true when value is an A2UI dynamic path reference.

import { isPathRef } from '@threadplane/chat';

Declaration · overload 1

export declare function isPathRef(value: unknown): value is {
    path: string;
};

Parameters

value · required
unknown

Returns

value is { path: string; }