UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

15 lines (14 loc) 363 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * 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; } exports.default = getHolder;