ProtoFlux:Index Of First Match

From Resonite Wiki
Revision as of 07:33, 23 May 2024 by AmasterAmaster (talk | contribs) (Created the page for the Index Of First Match node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.