source: trip-planner-front/node_modules/lodash/fp/convert.js@ 6fe77af

Last change on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 657 bytes
Line 
1var baseConvert = require('./_baseConvert'),
2 util = require('./_util');
3
4/**
5 * Converts `func` of `name` to an immutable auto-curried iteratee-first data-last
6 * version with conversion `options` applied. If `name` is an object its methods
7 * will be converted.
8 *
9 * @param {string} name The name of the function to wrap.
10 * @param {Function} [func] The function to wrap.
11 * @param {Object} [options] The options object. See `baseConvert` for more details.
12 * @returns {Function|Object} Returns the converted function or object.
13 */
14function convert(name, func, options) {
15 return baseConvert(util, name, func, options);
16}
17
18module.exports = convert;
Note: See TracBrowser for help on using the repository browser.