sdkgenny.Constant
Inherits from Object.
A named constant with a type and string value.
Methods
self:type(type: sdkgenny.Type)
Sets the type of this constant. Returns self for chaining.
self:value() / self:value(v: string)
Gets or sets the constant’s value as a string. Returns self when setting.
self:string()
Marks this constant as a string-type constant. Returns self for chaining.