getIsMixin abstract method

bool getIsMixin()

Returns true if this declaration is a mixin or a mixin application.

Mixins are reusable sets of methods and fields that can be applied to classes without using inheritance.

Example

mixin Logging {}
print(loggingMixin.getIsMixin()); // true

Implementation

bool getIsMixin();