Skip to content

Function: getIncomers

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

Type parameters

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

Parameters

NameType
nodeNode<any, any>
elementsT

Returns

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

Released under the MIT License.