isMixin abstract method
Checks if this class is a mixin declaration.
Returns:
true
if declared withmixin
keywordfalse
for regular classes
Example:
mixin Serializable {}
Class<Serializable>().isMixin(); // true
Implementation
bool isMixin();
Checks if this class is a mixin declaration.
Returns:
true
if declared with mixin
keywordfalse
for regular classesExample:
mixin Serializable {}
Class<Serializable>().isMixin(); // true
bool isMixin();