isSealed abstract method

bool isSealed()

Checks whether this class is declared as sealed.

Sealed classes restrict which classes may extend them and enable exhaustive pattern matching.


Returns

  • true if the class is sealed
  • false otherwise

Implementation

bool isSealed();