mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Move internal modules to “internal” folder.
This commit is contained in:
13
.internal/getHolder.js
Normal file
13
.internal/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) {
|
||||
const object = func;
|
||||
return object.placeholder;
|
||||
}
|
||||
|
||||
export default getHolder;
|
||||
Reference in New Issue
Block a user