ProtoFlux:Index Of First Match

From Resonite Wiki
Index Of First Match
Match
Index
Values
FoundMatch
+
-
Utility

The Index Of First Match node takes in a value that we want to match, and a list of values of the same type. When there is a match, it will return the index of the match and a boolean value that there was a match.

Inputs

Match (Generic)

The value we are trying to match.

Values (Generic)

The list of values.

Outputs

Index (int)

The index of where we found the match.

FoundMatch (bool)

Returns if there is a match in the list.