ClojureDocs

Nav

Namespaces

ident?

clojure.core

Available since 1.9 (source)
  • (ident? x)
Return true if x is a symbol or keyword
1 Example
(ident? :hello)
;;=> true

(ident? 'abc)
;;=> true

(ident? "hi")
;;=> false

(ident? 123)
;;=> false
See Also

Return true if x is a symbol or keyword without a namespace

Added by svenschoenung

Return true if x is a symbol or keyword with a namespace

Added by svenschoenung

Return true if x is a Keyword

Added by wdhowe

Return true if x is a Symbol

Added by wdhowe
0 Notes
No notes for ident?