isSealed abstract method
Checks if this class is sealed (exhaustive pattern matching).
Returns:
true
if the class is declared withsealed
modifierfalse
for non-sealed classes
Note: Sealed classes enable exhaustive checking in pattern matching.
Implementation
bool isSealed();