has-value@0.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

2014-09-22
安装 (0.1.0)
npm install has-value@0.1.0
yarn add has-value@0.1.0
pnpm add has-value@0.1.0
bun add has-value@0.1.0
devDependencies (3)
包名版本要求
mocha *
should ^4.0.4
verb >= 0.2.6
版本列表
2.0.2 2018-03-03
2.0.1 2018-01-31
2.0.0 2018-01-31
1.0.0 2017-05-19
0.3.1 2016-03-27
0.3.0 2015-11-24
0.2.1 2015-10-30
0.2.0 2015-03-25
0.1.0 2014-09-22