pathnamep
object ⇒ generalized-boolean
object | an object. |
generalized-boolean | a generalized boolean. |
(setq q "test") ⇒ "test"
(pathnamep q) ⇒ false
(setq q (pathname "test"))
⇒ #S(PATHNAME :HOST NIL :DEVICE NIL :DIRECTORY NIL :NAME "test" :TYPE NIL
:VERSION NIL)
(pathnamep q) ⇒ true
(setq q (logical-pathname "SYS:SITE;FOO.SYSTEM"))
⇒ #P"SYS:SITE;FOO.SYSTEM"
(pathnamep q) ⇒ true
(pathnamep object) ≡ (typep object 'pathname)