symbol-value

symbol-value is a built-in function in `C source code'.

(symbol-value SYMBOL)

Return SYMBOL's value. Error if that is void.
Note that if `lexical-binding' is in effect, this returns the
global value outside of any lexical scope.