#elisp
Function:
natnump object
This predicate (whose name comes from the phrase “natural number”)
tests to see whether its argument is a nonnegative integer, and
returns t
if so, nil
otherwise. 0 is considered
non-negative.
wholenump
is a synonym for natnump
.
If you want to change selection, open document below and click on "Move attachment"
GNU Emacs Lisp Reference Manual: Predicates on Numberss whether its argument is an integer, and returns
t if so, nil otherwise.
Function: numberp object This predicate tests whether its argument is a number (either integer or
floating point), and returns t if so, nil otherwise.
<span>Function: natnump object
This predicate (whose name comes from the phrase “natural number”)
tests to see whether its argument is a nonnegative integer, and
returns t if so, nil otherwise. 0 is considered
non-negative.
wholenump is a synonym for natnump .
Function: zerop number This predicate tests whether its argument is zero, and returns t
if so, nil otherwise. The argument must be a number.
(zerop x) is equivalent to (= x 0 Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details