Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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;