Function: math-check-const

math-check-const is a byte-compiled function defined in calc-ext.el.gz.

Signature

(math-check-const A &optional EXP-OK)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-ext.el.gz
;;; Verify that A is a constant.
(defun math-check-const (a &optional exp-ok)
  (if (or (math-constp a)
	  (and exp-ok math-expand-formulas))
      a
    (math-reject-arg a 'constp)))