Auswertung Experiment
Database tüddelei DBHanlder läuft gut für DIESE Datanbank struktur... App begonnen aber weit entfernt von gutem Stand
This commit is contained in:
11
Datatypes/isEnumeration.m
Normal file
11
Datatypes/isEnumeration.m
Normal file
@@ -0,0 +1,11 @@
|
||||
function result = isEnumeration(value)
|
||||
% isEnumeration Checks if a given value is an instance of an enumeration class
|
||||
% Usage:
|
||||
% result = isEnumeration(value);
|
||||
|
||||
% Get meta information about the class of the value
|
||||
metaInfo = metaclass(value);
|
||||
|
||||
% Check if the meta information indicates an enumeration class
|
||||
result = metaInfo.Enumeration;
|
||||
end
|
||||
Reference in New Issue
Block a user