Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
ClojureScript
cljs.core
-
-
macro
v1.7
cljs.core/-
Available in:
BB
CLJ
CLJS
(
-
[
x
]
[
x
y
]
[
x
y
&
more
]
)
If no ys are supplied, returns the negation of x, else subtracts the ys from x and returns the result.
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
asin
← +
--destructure-map →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4