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