Skip to content

Function: getIncomers

â–¸ getIncomers<T>(node, elements): never[] | 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
nodeGraphNode<any, any, string>
elementsT

Returns

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

Released under the MIT License.