Creates a function that invokes the method at object[key] with partials prepended to the arguments it receives. Allows bound functions to reference methods that may be redefined or don't yet exist. See Peter Michaux's article for more details.
Differences from lodash:
there is no "placeholder" functionality
it will return plain functions; they will not inherit the prototype of object[key]
Contribution to minified bundle size, when it is the only function imported:
Lodash: 10,812 bytes
Micro-dash: 70 bytes
Type Parameters
K extends PropertyKey
T extends { [key in PropertyKey]: ((...args) => any) }
Creates a function that invokes the method at
object[key]
withpartials
prepended to the arguments it receives. Allows bound functions to reference methods that may be redefined or don't yet exist. See Peter Michaux's article for more details.Differences from lodash:
object[key]
Contribution to minified bundle size, when it is the only function imported: