The symbol must resolve to a var, and the Var object itself (not its value) is returned. The reader macro #'x expands to (var x). See https://clojure.org/special_forms for more information.