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
select(key,__, ...args){return(// A list of arguments > 3 returns those values as an array // args.length ?// [key, __, ...args].map((arg) =>// isArray(arg) ? selector(...arg) : selector(arg)) :// Two array of values to select and defaultsisArray(key)&&isArray(__) ?
map(key,(key,idx)=>selector(key,__[idx])) :
// A object that is a mapping of `{ [key]: [default] }`isObject(key) ?
mapValues(key,(__,key)=>selector(key,__)) :
// Default behaviorselector(...arguments))}
Select, or some new method should support return object partials, like lodash
pick
.The text was updated successfully, but these errors were encountered: