Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

IsConstValue

Check if a value is an actual constant.

Declaration

Source position: system.fpd line 99

function IsConstValue(

  V: TAnyType

):Boolean;

Description

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 False

See also

TypeInfo

  

Return pointer to type information for type.

IsManagedType

  

Check if a type is a managed type.


Documentation generated on: Jul 24 2023