depTerminal()
Terminal metadata for one dep: false = none, true = COMPLETE, otherwise ERROR payload.
Import
Section titled “Import”import { depTerminal } from "@graphrefly/ts/core";Signature
Section titled “Signature”function depTerminal( ctx: Ctx, depIndex: number,): unknownParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
ctx | Ctx | Node execution context supplied by the dispatcher. |
depIndex | number | dep index value used by the helper. |
Returns
Section titled “Returns”The dep terminal result.
Example
Section titled “Example”import { depTerminal } from "@graphrefly/ts/core";Source
Section titled “Source”packages/ts/src/ctx/types.ts