@octoguide/object-utils
v1.1.3
Published
<dl> <dt><a href="#omitBy">omitBy</a></dt> <dd><p>remove all key, value pairs from the object that match the comparator (fn)</p> </dd> <dt><a href="#removeEmptyEntries">removeEmptyEntries</a></dt> <dd><p>remove all empty entries from the object where name
Downloads
4
Readme
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 | * |