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
Yeah, haven't thought of this. Good move! However, this might break the choice to use different immutable/cursor libraries with Omniscient. As not doing isCursor and unCursor would imply that a different cursor lib would have to implement .valueOf as well.
In the facebook/immutable-js issues we were asking to get a Cursor.isCursor function which could be used rather than checking for deref existence.
Lee Byron suggested that maybe it would be better to use
valueOf
to deref for comparisons since if it is already not a cursor it returns itself.See: immutable-js/immutable-js#300 (comment)
The text was updated successfully, but these errors were encountered: