Removed modules/contrib/media module to allow update to the core media module
[yaffs-website] / node_modules / uncss / node_modules / lodash / fp / convert.js
1 var 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. If `name` is an object its methods will be converted.
7  *
8  * @param {string} name The name of the function to wrap.
9  * @param {Function} [func] The function to wrap.
10  * @returns {Function|Object} Returns the converted function or object.
11  */
12 function convert(name, func) {
13   return baseConvert(util, name, func);
14 }
15
16 module.exports = convert;