dsb-defined

1.0.0 • Public • Published

@method defined

  • checks if a variable is undefined
  • returns false if {variable} undefined or {this} === {window||global}
  • @param variable {any} the variable to check is defined
  • @returns is_defined {boolean} returns true if defined AND not root

Readme

Keywords

none

Package Sidebar

Install

npm i dsb-defined

Weekly Downloads

1

Version

1.0.0

License

NONE

Unpacked Size

4.4 kB

Total Files

6

Last publish

Collaborators

  • caseydwayne