Skip to content
On this page

Function: getIncomers ​

â–¸ getIncomers<T>(node, elements): T extends FlowElements<any, any, any, any> ? GraphNode<any, any, string>[] : Node<any, any, string>[]

Type parameters ​

NameType
Textends Element<any, any, any, any>[] = FlowElements<any, any, any, any>

Parameters ​

NameType
nodeNode<any, any, string>
elementsT

Returns ​

T extends FlowElements<any, any, any, any> ? GraphNode<any, any, string>[] : Node<any, any, string>[]

Released under the MIT License.