Lodash _.partialRight() Method
The _.partialRight() method is used to create a function which invokes the given func function with the appended partials to the arguments it receives. It is almost the same as _.partial() function.
_.partialRight( func, partials )
Parameters: This method accepts two parameters as mentioned above and described below:
- func: This parameter holds the function to partially apply arguments to.
- partials: This parameter holds the arguments to be partially applied. It is an optional parameter.
Return Value: This method returns the new partially applied function.
'GeeksforGeeks is a computer science portal'