.Modelica_Requirements.LogicalFunctions.last

Information

Syntax

last(b);

Description

The function returns the value of the last element of a Boolean vector b.

Example

The property is demonstrated with the following example calling the function as:

lastBooleanElement = last( b )
simulation result

Interface

function last
  extends Modelica.Icons.Function;
  input Boolean b[:] "Boolean vector";
  output Boolean result "Value of last entry";
end last;

Generated at 2025-01-09T19:26:08Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos