kitControl-And

This component performs a logical AND on all inputs and writes the result to the out property.

kitControl-And is available in the Logic folder of the kitControl palette.

Figure 1. Logical And with two inputs


The minimum number of valid inputs for the AND logic object is one. A valid value is one that is “non-null”. In the unique case of only one valid input, the value of the input is passed directly to the output during calculation. The following shows the AND object truth table when using two inputs.

In A In B Out
false false false
false true false
true false false
true true true

This table shows the object truth using four inputs:

Figure 2. Logical And with four inputs


In A In B In C In D Out
false false false false false
false false false true false
false false true false false
false false true true false
false true false false false
false true false true false
false true true false false
false true true true false
true false false false false
true false false true false
true false true false false
true false true true false
true true false false false
true true false true false
true true true false false
true true true true true
Figure 3. And properties


PropertyValueDescription
FacetsConfig Facets window (defaults to true and false)

Defines the text to display for each Boolean value.

trueText configures to the text to describe the state when the component returnstrue

falseText configures to the text to describe the state when the component returnsfalse

Outread-only true or falseDisplays the result of the And operation.
In A through In DStatusBoolean true or false and null definitionProvides the input values for the And operation.