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 would be so much more usable for me if you could provide a functional style friendly wrapper.
It would be very simple to do this. Basically provide some parallel version import { get } from 'get-value/fp', where:
Argument order is reversed.
The function is curried.
Perhaps separate get from getWithOptions. Examples of usage:
import{get,getWithOptions}from'get-value/fp'constgetValue=get('event.target.value');constvalue=getValue(message);// Would be the same as:constvalue=get('event.target.value',message);// or, trivially:constvalue=get('event.target.value')(message);// A "with options" version:constget=getWithOptions({isValid: ... });constgetValue=get('event.target.value');constvalue=getValue(message);
The text was updated successfully, but these errors were encountered:
This would be so much more usable for me if you could provide a functional style friendly wrapper.
It would be very simple to do this. Basically provide some parallel version
import { get } from 'get-value/fp'
, where:Perhaps separate
get
fromgetWithOptions
. Examples of usage:The text was updated successfully, but these errors were encountered: