.Modelica_StateGraph2.Blocks.BooleanFunctions.firstTrueIndex

Returns the index of the first element of the Boolean vector that is true and returns 0, if no element is true

Interface

function firstTrueIndex
  input Boolean b[:];
  output Integer index;
end firstTrueIndex;

Generated at 2026-01-29T19:15:51Z by OpenModelicaOpenModelica 1.26.1 using GenerateDoc.mos