getIsFinal abstract method

bool getIsFinal()

Returns true if this class is declared as final.

Final classes cannot be extended, mixed in, or subclassed. This guarantees a closed inheritance hierarchy for the type.

Use cases

  • Security-sensitive types
  • Performance-critical or invariant-dependent implementations

Implementation

bool getIsFinal();