Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

convert.js 657B

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