mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Bump to v4.12.0.
This commit is contained in:
13
_getHolder.js
Normal file
13
_getHolder.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Gets the argument placeholder value for `func`.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} func The function to inspect.
|
||||
* @returns {*} Returns the placeholder value.
|
||||
*/
|
||||
function getHolder(func) {
|
||||
var object = func;
|
||||
return object.placeholder;
|
||||
}
|
||||
|
||||
module.exports = getHolder;
|
||||
Reference in New Issue
Block a user