isTypedef abstract method

bool isTypedef()

Checks if this class represents a typedef.

Returns:

  • true for type aliases created with typedef
  • false for regular classes

Example:

typedef IntList = List<int>;
Class<IntList>().isTypedef(); // true

Implementation

bool isTypedef();