Go to the first, previous, next, last section, table of contents.


compiled-function-p [Function]

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
OR=> true
 (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
OR=> true
 (compiled-function-p '(lambda (x) x)) =>  false

See Also::

section compile [Function] , section compile-file [Function] , section compiled-function [Type]

Notes::

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


Go to the first, previous, next, last section, table of contents.