(defun boundp (x)
(boundp x))
+(defun fboundp (x)
+ (fboundp x))
+
;; Basic functions
(defun = (x y) (= x y))
(defun * (x y) (* x y))
(defun error (fmt &rest args)
(%throw (apply #'format nil fmt args)))
-
-;;; compiler.lisp ---
+;;; compiler.lisp ---
;; copyright (C) 2012, 2013 David Vazquez
;; Copyright (C) 2012 Raimon Grau
(define-builtin boundp (x)
(js!bool (code "(" x ".value !== undefined)")))
+(define-builtin fboundp (x)
+ (js!bool (code "(" x ".fvalue !== undefined)")))
+
(define-builtin symbol-value (x)
(js!selfcall
"var symbol = " x ";" *newline*
defparameter defun defvar destructuring-bind digit-char digit-char-p
disassemble do do* documentation dolist dotimes ecase eighth eq eql
equal error eval every export expt fdefinition fifth find
- find-package find-symbol first flet format fourth fset funcall
+ find-package find-symbol first flet format fourth fboundp fset funcall
function functionp gensym get-internal-real-time get-setf-expansion
get-universal-time go identity if in-package incf integerp intern
intersection keywordp labels lambda last length let let*