fnext

functionsince v0.0-927 clojure.core/fnextEdit
(fnext coll)

Details:

Same as (first (next coll))


Examples:

(fnext [1 2 3])
;;=> 2

(fnext [1 2])
;;=> 2

(fnext [1])
;;=> nil

(fnext [])
;;=> nil

See Also:


Source docstring:
Same as (first (next x))
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn fnext
  [coll]
  (first (next coll)))