Files
Basalt/docs/objects/Object/getValue.md
Robert Jelic ab72f244ed Updated some formatting
Updated formatting for object
2022-10-20 21:05:29 +02:00

20 lines
322 B
Markdown

# Object
## getValue
Returns the currently saved value
### Returns
1. `any` Object's value
### Usage
* Prints the value of the checkbox to the debug console
```lua
local mainFrame = basalt.createFrame()
local aCheckbox = mainFrame:addCheckbox():setValue(true)
basalt.debug(aCheckbox:getValue()) -- returns true
```