[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Testing forthe existence of a function
From: |
Drew Adams |
Subject: |
RE: Testing forthe existence of a function |
Date: |
Tue, 27 Oct 2009 09:44:59 -0700 |
Function `fboundp' is what you're looking for.
--
Be aware that `fboundp' checks only whether its argument is defined, in the
sense of having something in its function cell. This does not necessarily mean
that the arg is a Lisp function - it could be also a macro or special form. If
you need to test whether the thing in question is in fact a function, use
`functionp'.