IsConstValue function
Check if a value is an actual constant.
Declaration
function IsConstValue(V: TAnyType): BooleanDescription
IsConst returns
True if the value
V is an actual constant, and
False if not.
This function is evaluated at compile-time. A value is an actual constant if its value is known at compile time and cannot change.
This means that typed constants will result in a return value of
FalseSee also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
