Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 426 Bytes

File metadata and controls

19 lines (16 loc) · 426 Bytes

build status emptyObject

A simple empty object microlib for Node (for those times when _ is too heavyweight)

Usage (in Javascript)

emp = require('emptyObject')

if({}.isEmpty()){
        console.log("Yep, it worked");
}
else
{
        console.log("It didn't work!");
}