-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
-
compactObject() ⇒
object
-
compactObject - deletes the empty valued properties from the object
-
recursiveOmit() ⇒
object
-
Removes the empty valued properties from the object recursively
-
deepExtend(target, source) ⇒
object
-
Similar to _.extend but does a deep extend
-
diffobject(object1, object2) ⇒
object
-
Compares Object1 with Object2 and returns the different key-value pairs
- convertCamelCaseToReadable(s1) ⇒
-
- If you combine more than two strings without any spaces between in it. It will make it readable by providing space between each and every string.
compactObject - deletes the empty valued properties from the object
Kind: global function
Returns: object
- compactobj - object free from empty valued properties.
Type | Description |
---|---|
Object |
The object |
Removes the empty valued properties from the object recursively
Kind: global function
Returns: object
- compactobj - object free from empty valued properties deep.
Type | Description |
---|---|
Object |
The object. |
Similar to _.extend but does a deep extend
Kind: global function
Returns: object
- target - Returns the target object which has the source object properties after merging it.
Param | Type | Description |
---|---|---|
target | object |
The target object to which source object properties to be merged. |
source | object |
The source object properties which need's to be merged to target. |
Compares Object1 with Object2 and returns the different key-value pairs
Kind: global function
Returns: object
- diffobject - Returns the different key-value pairs in object1 and object2.
Param | Type | Description |
---|---|---|
object1 | string |
Enter object1 to compare with object2 |
object2 | string |
Enter object2 to compare with object1 |
- If you combine more than two strings without any spaces between in it. It will make it readable by providing space between each and every string.
Kind: global function
Returns: s1 - Returns the each and every string by separating with spaces in between it.
Param | Type | Description |
---|---|---|
s1 | string |
Enter camel case string to convert to readable. |