Skip to main content

Interface: SwitchRef

An internal:switch node.

Extends​

Properties​

default​

readonly default: HandleRef


id​

readonly id: string

Inherited from​

NodeRef.id


kind​

readonly kind: "node"

Inherited from​

NodeRef.kind


output​

readonly output: PredicateMethods

The node's output, as a typed reference.

Inherited from​

NodeRef.output

Methods​

case()​

case(handle): HandleRef

Parameters​

handle​

string

Returns​

HandleRef


handle()​

handle(name): HandleRef

One of the node's output handles.

Parameters​

name​

string

Returns​

HandleRef

Inherited from​

NodeRef.handle