IsConstValue¶
Check if a value is an actual constant.
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¶
| Name | Description |
|---|---|
| TypeInfo | Return pointer to type information for type. |
| IsManagedType | Check if a type is a managed type. |