System.IsConstValue
Delphi
function IsConstValue(const Value): Boolean;
Description
IsConstValue function returns the boolean data type of a value. When the value is a constant, it returns True. Otherwise, it returns False.
This function is useful for inline function optimization and generic context.