Sha256: 86eee99d2a2d984255dd6c7d3ac25ab918808e9777311acf7fbc3adbd45879e7

Contents?: true

Size: 392 Bytes

Versions: 273

Compression:

Stored size: 392 Bytes

Contents

var baseSetToString = require('./_baseSetToString'),
    shortOut = require('./_shortOut');

/**
 * Sets the `toString` method of `func` to return `string`.
 *
 * @private
 * @param {Function} func The function to modify.
 * @param {Function} string The `toString` result.
 * @returns {Function} Returns `func`.
 */
var setToString = shortOut(baseSetToString);

module.exports = setToString;

Version data entries

273 entries across 271 versions & 29 rubygems

Version Path
disco_app-0.18.2 test/dummy/node_modules/lodash/_setToString.js
sumomo-0.8.15 data/sumomo/api_modules/node_modules/lodash/_setToString.js
trusty-cms-5.0.7 node_modules/lodash/_setToString.js
appmap-0.72.2 ./node_modules/lodash/_setToString.js
trusty-cms-5.0.6 node_modules/lodash/_setToString.js
appmap-0.72.1 ./node_modules/lodash/_setToString.js
appmap-0.72.0 ./node_modules/lodash/_setToString.js
trusty-cms-5.0.5 node_modules/lodash/_setToString.js
trusty-cms-5.0.4 node_modules/lodash/_setToString.js
appmap-0.71.0 ./node_modules/lodash/_setToString.js
disco_app-0.16.1 test/dummy/node_modules/lodash/_setToString.js
appmap-0.70.2 ./node_modules/lodash/_setToString.js
sumomo-0.8.14 data/sumomo/api_modules/node_modules/lodash/_setToString.js
appmap-0.70.1 ./node_modules/lodash/_setToString.js
appmap-0.70.0 ./node_modules/lodash/_setToString.js
appmap-0.69.0 ./node_modules/lodash/_setToString.js
sumomo-0.8.13 data/sumomo/api_modules/node_modules/lodash/_setToString.js
appmap-0.68.2 ./node_modules/lodash/_setToString.js
appmap-0.68.1 ./node_modules/lodash/_setToString.js
disco_app-0.15.2 test/dummy/node_modules/lodash/_setToString.js