.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

RevisionAuthorComment
16311sjoelund.seAdded to omc

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos