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