Closed ghost closed 8 years ago
Why not just transform the argument before calling Immutable
on it?
Argument object may all propetiies to work properly.
Second way is to clone it for N depth, delete props and send cloned to Immutable
.
But its not equal if object has depth L>N.
This use case seems too narrow to justify the added complexity, sorry!
Without
can be very usefull to prevent circular references in situations like that.Can you make option or function
without
?