ProtoFlux:Boolean Counter

From Resonite Wiki
Boolean Counter
Booleans
TrueCount
+
-
FalseCount
TotalCount
Binary

The Boolean Counter node takes in a list of booleans and counts the number of true and false values, as well as a count of all booleans in the list.

Inputs

Booleans (bool)

The list of booleans to be counted.

Outputs

TrueCount (int)

The true count of all booleans in the list.

FalseCount (int)

The false count of all booleans in the list.

TotalCount (int)

The total count of booleans in this list.