Boolean vectors are equalExamples:
arrayIntegerEqual({1,2}, {1,2}) returns true, but
arrayIntegerEqual({1,2}, {1,3}) and arrayIntegerEqual({1,2}, {1,2,3}) each return false.
function arrayBooleanEqual
extends Modelica.Icons.Function;
input Boolean u1[:] "First Boolean vector" annotation(
Dialog(__Dymola_label = "<html><i>u</i><sub>1</sub></html>"));
input Boolean u2[:] "Second Boolean vector" annotation(
Dialog(__Dymola_label = "<html><i>u</i><sub>1</sub></html>"));
output Boolean equal "<html><code>true</code>, if all of the entries are equal</html>";
end arrayBooleanEqual;