API

Class FlowGraphIndexOfBlock<T>

This block takes an object as input and an array and returns the index of the object in the array.

Type Parameters

  • T = any

Hierarchy (View Summary)

Index
array: FlowGraphDataConnection<T[]>

Input connection: The array to search in.

config: IFlowGraphBlockConfiguration

construction parameters

index: FlowGraphDataConnection<FlowGraphInteger>

Output connection: The index of the object in the array. -1 if not found!

object: FlowGraphDataConnection<T>

Input connection: The object to find in the array.