function checkIfInArray extends Modelica.Icons.Function; input Real scal; input Real array[:]; output Boolean bool = false; end checkIfInArray;