_getHolder.js 280 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 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;