Skip to content

symbol-length

Type ​

meta-lisp
(-> symbol-t int-t)

Description ​

Return the length of the symbol name (in characters).

Examples ​

meta-lisp
(symbol-length 'foo)      ;; => 3
(symbol-length 'hello)    ;; => 5
(symbol-length '+)        ;; => 1