(vector->2d-array v)

Source

(defn vector->2d-array [v] (#?(:clj to-array-2d :cljs clj->js) v))