|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
657 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 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 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 | */
|
|---|
| 14 | function convert(name, func, options) {
|
|---|
| 15 | return baseConvert(util, name, func, options);
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | module.exports = convert;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.