_getHolder.js 280 B

1234567891011121314
  1. /**
  2. * Gets the argument placeholder value for `func`.
  3. *
  4. * @private
  5. * @param {Function} func The function to inspect.
  6. * @returns {*} Returns the placeholder value.
  7. */
  8. function getHolder(func) {
  9. var object = func;
  10. return object.placeholder;
  11. }
  12. module.exports = getHolder;