You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}else{// In JavaScript, only objects are even potentially mutable.// strings, numbers, null, and undefined are all naturally immutable.returntrue;}
which to me is an issue - my goal is to check if the item is an immutable object so i know if i need to convert it or not
seems like maybe asMutable should return an object or value that , if immutable has modified, converts it back to an untouched value. therefore could do Immutable.asMutable(undefined) and simply get back undefined.
this causes an error because undefined is immutable to the isImmutable request for some reason then it fails to make it mutable (obviously).
The text was updated successfully, but these errors were encountered: