[HARLEQUIN][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


Function PATHNAMEP

Syntax:

pathnamep object => generalized-boolean

Arguments and Values:

object---an object.

generalized-boolean---a generalized boolean.

Description:

Returns true if object is of type pathname; otherwise, returns false.

Examples:

 (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

Side Effects: None.

Affected By: None.

Exceptional Situations: None.

See Also: None.

Notes:

 (pathnamep object) ==  (typep object 'pathname)


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996, The Harlequin Group Limited. All Rights Reserved.