Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
657 bytes
|
Line | |
---|
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.