cljs.math/ceil

functionsince v1.11.50Edit
(ceil a)

Source docstring:
Returns the smallest double greater than or equal to a, and equal to a
mathematical integer.
If a is ##NaN or ##Inf or ##-Inf or already equal to an integer => a
Note that if a is `nil` then an exception will be thrown. This matches Clojure, rather than js/Math.ceil
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/ceil
Source code @ clojurescript:src/main/cljs/cljs/math.cljs
(defn ^number ceil
  {:added "1.11.10"}
  [a]
  (if (some? a)
    (Math/ceil a)
    (throw (ex-info "Unexpected Null passed to ceil" {:fn "ceil"}))))