1.1.3 • Published 5 years ago
@octoguide/object-utils v1.1.3
Constants
omitBy
remove all key, value pairs from the object that match the comparator (fn)
Kind: global constant
| Param | Type |
|---|---|
| obj | * |
| comparator | * |
removeEmptyEntries
remove all empty entries from the object where name values pair has an empty value
Kind: global constant
getObjectNameById
get the name field from the array of objects using the id
Kind: global constant
| Param | Type | Description |
|---|---|---|
| id | String | |
| list | Array | objects that have an id and name field |
isEmpty
checks if the entry is empty - space, 0, null, undefined
Kind: global constant
| Param | Type |
|---|---|
| e | * |