1 var baseConvert = require('./_baseConvert'),
2 util = require('./_util');
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.
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.
12 function convert(name, func) {
13 return baseConvert(util, name, func);
16 module.exports = convert;