Skip to content

package

has-values

v0.1.1

Returns true if a value exists, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. Other libs do this, but I needed one that would optionally _not_ treat zero as empty. Also, this works with booleans and other valu

node >=0.10.00 depscjsopen source
license
MIT
deps
0
unpacked
Unknown
files
Unknown
node
>=0.10.0
npm install has-values@0.1.1

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions.

Download trend unavailable.

compatibility

Runtime metadata.

node>=0.10.0
cjs
keywords

Tagged topics.

arraybooleanemptyfindfunctionhashasOwnjavascriptjskeykeysnode.js