Files
Basalt/docs/docs1_6/objects/Object/getValue.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +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
```