@octoguide/object-utils

1.1.3 • Public • Published

Constants

omitBy

remove all key, value pairs from the object that match the comparator (fn)

removeEmptyEntries

remove all empty entries from the object where name values pair has an empty value

getObjectNameById

get the name field from the array of objects using the id

isEmpty

checks if the entry is empty - space, 0, null, undefined

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 *

Readme

Keywords

none

Package Sidebar

Install

npm i @octoguide/object-utils

Weekly Downloads

2

Version

1.1.3

License

UNLICENSED

Unpacked Size

10.8 kB

Total Files

9

Last publish

Collaborators

  • cpsolutions28