isConst abstract method

bool isConst()

Checks if this executable is declared as const.

Returns:

  • true if declared with const modifier
  • false otherwise

Note: Differs from isFinal as const implies compile-time constant.

Implementation

bool isConst();