- Lodash - Discussion
- Lodash - Useful Resources
- Lodash - Quick Guide
- Lodash - Methods
- Lodash - Properties
- Lodash - Util
- Lodash - String
- Lodash - Seq
- Lodash - Object
- Lodash - Number
- Lodash - Math
- Lodash - Lang
- Lodash - Function
- Lodash - Date
- Lodash - Collection
- Lodash - Array
- Lodash - Environment Setup
- Lodash - Overview
- Lodash - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Lodash - Lang
Lodash has many easy to use general purpose methods. This chapter discusses them in detail.
Lodash provides various general purpose methods as psted below −
Sr.No. | Method & Syntax |
---|---|
1 |
_.castArray(value) |
2 |
_.clone(value) |
3 |
_.cloneDeep(value) |
4 |
_.conformsTo(object, source) |
5 |
_.eq(value, other) |
6 |
_.gt(value, other) |
7 |
_.gte(value, other) |
8 |
_.isArguments(value) |
9 |
_.isArray(value) |
10 |
_.isArrayBuffer(value) |
11 |
_.isArrayLike(value) |
12 |
_.isArrayLikeObject(value) |
13 |
_.isBoolean(value) |
14 |
_.isBuffer(value) |
15 |
_.isDate(value) |
16 |
_.isEmpty(value) |
17 |
_.isEqual(value, other) |
18 |
_.isEqualWith(value, other, [customizer]) |
19 |
_.isError(value) |
20 |
_.isFinite(value) |
21 |
_.isFunction(value) |
22 |
_.isInteger(value) |
23 |
_.isLength(value) |
24 |
_.isMap(value) |
25 |
_.isMatch(object, source) |
26 |
_.isMatchWith(object, source, [customizer]) |
27 |
_.isNaN(value) |
28 |
_.isNative(value) |
29 |
_.isNil(value) |
30 |
_.isNull(value) |
31 |
_.isNumber(value) |
32 |
_.isObject(value) |
33 |
_.isObjectLike(value) |
34 |
_.isPlainObject(value) |
35 |
_.isRegExp(value) |
36 |
_.isSafeInteger(value) |
37 |
_.isSet(value) |
38 |
_.isString(value) |
39 |
_.isSymbol(value) |
40 |
_.isTypedArray(value) |
41 |
_.isUndefined(value) |
42 |
_.isWeakMap(value) |
43 |
_.isWeakSet(value) |
44 |
_.lt(value, other) |
45 |
_.lte(value, other) |
46 |
_.toArray(value) |
47 |
_.toFinite(value) |
48 |
_.toInteger(value) |
49 |
_.toLength(value) |
50 |
_.toNumber(value) |
51 |
_.toPlainObject(value) |
52 |
_.toSafeInteger(value) |
53 |
_.toString(value) |