ProtoFlux:IndexOfFirstMatch

From Resonite Wiki
Revision as of 00:23, 21 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Index Of First Match to ProtoFlux:IndexOfFirstMatch: Automated: removing spaces from ProtoFlux namespace)
(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.