Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 21, 2016 15:09
Show Gist options
  • Save zhouqiang-cl/f07e2dd20cbd8c88104ee6d0e6c1e48e to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/f07e2dd20cbd8c88104ee6d0e6c1e48e to your computer and use it in GitHub Desktop.
common lisp 的函数 FUNCTIONP
语法
functionp object => generalized-boolean
参数和值
object --- 一个 object
generalized-boolean --- 一个 generalized-boolean
描述
如果 object 是一个函数, 返回真, 否则返回假
代码
* (functionp #'functionp)
T
* (functionp #'defun)
T
* (functionp 'name)
NIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment