Function: s-numeric?
s-numeric? is a byte-compiled function defined in s.el.
Signature
(s-numeric\? S)
Documentation
Is S a number?
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-numeric? (s)
"Is S a number?"
(declare (pure t) (side-effect-free t))
(s--truthy?
(string-match-p "^[0-9]+$" s)))