.OpenModelica.Scripting.getBooleanClassAnnotation

Checks if an annotation exists and returns its value

Information

Returns the value of the class annotation annotationName of class className. If there is no such annotation, or if it is not true or false, this function fails.

Interface

function getBooleanClassAnnotation
  input TypeName className;
  input TypeName annotationName;
  output Boolean value;
end getBooleanClassAnnotation;

Revisions

Revision Author Comment
16311 sjoelund.se Added to omc

Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos