isFinal abstract method
Checks if this class is final (cannot be extended).
Returns:
trueif the class is declared withfinalmodifierfalsefor extendable classes
Example:
final class Immutable {}
class Mutable {}
Class.forType<Immutable>().isFinal(); // true
Class.forType<Mutable>().isFinal(); // false
Implementation
bool isFinal();