If this is for checking if your saved variables already exist because you're worried about overwriting them, that's not something you need to do.
Your saved variables are loaded after your addon files are executed and will overwrite any variables with the same name.
If you have "ADVANCED_INTERFACE_GLOBAL_CONSTANTS = {}" in your lua file, and "ADVANCED_INTERFACE_GLOBAL_CONSTANTS" is a saved variable name, it'll just replace your empty table with the saved data when it finishes loading.
|