- Lodash Tutorial
- Lodash - Home
- Lodash - Overview
- Lodash - Environment Setup
- Lodash - Array
- Lodash - Collection
- Lodash - Date
- Lodash - Function
- Lodash - Lang
- Lodash - Math
- Lodash - Number
- Lodash - Object
- Lodash - Seq
- Lodash - String
- Lodash - Util
- Lodash - Properties
- Lodash - Methods
- Lodash Useful Resources
- Lodash - Quick Guide
- Lodash - Useful Resources
- Lodash - Discussion
Lodash - Function
Lodash has many easy to use methods which helps in creating and processing Functions. This chapter discusses them in detail.
Lodash provides various methods to process the Functions as listed below −
Sr.No. | Method & Syntax |
---|---|
1 |
_.ary(func, [n=func.length]) |
2 |
_.before(n, func) |
3 |
_.bind(func, thisArg, [partials]) |
4 |
_.bindKey(object, key, [partials]) |
5 |
_.curry(func, [arity=func.length]) |
6 |
_.curryRight(func, [arity=func.length]) |
7 |
_.delay(func, wait, [args]) |
8 |
_.flip(func) |
9 |
_.memoize(func, [resolver]) |
10 |
_.negate(predicate) |
11 |
_.once(func) |
12 |
_.overArgs(func, [transforms=[_.identity]]) |
13 |
_.partial(func, [partials]) |
14 |
_.partialRight(func, [partials]) |
15 |
_.rearg(func, indexes) |
16 |
_.rest(func, [start=func.length-1]) |
17 |
_.spread(func, [start=0]) |
18 |
_.unary(func) |
19 |
_.wrap(value, [wrapper=identity]) |
Advertisements
To Continue Learning Please Login
Login with Google