Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 271 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 271 Bytes

empty-node-module

Check Whether passing varibles are empty or not

The following values are considered to be empty:

  • "" (an empty string)
  • 0
  • 0.0
  • "0"
  • NULL
  • FALSE
  • an empty object and empty array

if empty return true and non empty return false