Function: fixnump

fixnump is a byte-compiled function defined in subr.el.gz.

Signature

(fixnump OBJECT)

Documentation

Return t if OBJECT is a fixnum.

Other relevant functions are documented in the number group.

View in manual

Probably introduced at or before Emacs version 27.1.

Shortdoc

;; number
(fixnump 4)
    => t
  (fixnump (expt 2 90))
    => nil

Aliases

math-fixnump

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun fixnump (object)
  "Return t if OBJECT is a fixnum."
  (declare (ftype (function (t) boolean))
           (side-effect-free error-free))
  (and (integerp object)
       (<= most-negative-fixnum object most-positive-fixnum)))