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
This discussion was converted from issue #179 on November 15, 2021 14:50.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, if we want to
spread
nested object, we have to wrap it:It would be cool to make spread understand nesting without extra wrapping:
This can be achieved by
is.unit(obj[key])
check. If it's a unit - pass directly, if object - wrap it with aspread
firstBeta Was this translation helpful? Give feedback.
All reactions