wrap-around
function
rewrite-clj.paredit/wrap-around
(wrap-around [zloc t])Wrap current node with a given type `t` where `t` can be one of `:vector`, `:list`, `:set`, `:map` `:fn`.
- `|123 => [|123]` given `:vector`
- `|[1 [2]] => [|[1 [2]]]`
Examples
No examples yet. Be the first to add one!