ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL version 8.0
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   19 Filenames   19.4 Dictionary of Filenames

19.4.5 pathnamep Function

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

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

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2005 - File last updated 6-21-2002