Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
inc
inc
function
v1.2
clojure.core/inc
Available in:
BB
CLJ
CLJS
(
inc
[
x
]
)
Returns a number one greater than num. Does not auto-promote longs, will throw on overflow. See also: inc'
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Math & Logic › Arithmetic
See Also
*
+
-
/
E
IEEE-remainder
PI
abs
acos
add-exact
View source on GitHub ↗
← in-ns
inc' →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4