Skip to content

package

has-value

v0.1.0

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
Unknown
deps
0
unpacked
Unknown
files
Unknown
node
>=0.10.0
npm install has-value@0.1.0

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