Share your code. Components are building blocks, you are the architect.

utils/is-empty
v1.0.0
1.0.0
MIT
PUBLIC
0
Build: none
BuildNone
Returns `true` if the given value is its type's empty value; `false`

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/is-empty in your project
npm i @bit/bit.ramda.utils.is-empty
Copied

isEmpty (x:*) : Boolean

Returns true if the given value is its type’s empty value; false otherwise.

Example

R.isEmpty([1, 2, 3]);   //=> false
     R.isEmpty([]);          //=> true
     R.isEmpty('');          //=> true
     R.isEmpty(null);        //=> false
     R.isEmpty({});          //=> true
     R.isEmpty({length: 0}); //=> false

Argument

x: *

Returns

Boolean