ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   5 Data and Control Flow   5.3 Dictionary of Data and Control Flow

5.3.11 compiled-function-p Function

Syntax:
compiled-function-p object    generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

Description:
Returns true if object is of type compiled-function; otherwise, returns false.

Examples:
 (defun f (x) x)   F
 (compiled-function-p #'f)
 false
ORtrue
 (compiled-function-p 'f)  false
 (compile 'f)   F
 (compiled-function-p #'f)  true
 (compiled-function-p 'f)  false
 (compiled-function-p (compile nil '(lambda (x) x)))
 true
 (compiled-function-p #'(lambda (x) x))
 false
ORtrue
 (compiled-function-p '(lambda (x) x))  false

See Also:
compile, compile-file, compiled-function

Notes:
 (compiled-function-p object) ==(typep object 'compiled-function)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. All Rights Reserved - File last updated 2022-07-25