Awesome Lists

not-defined

by fibo

JavaScriptpushed over 2 years ago

checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

AI summary

Variable checker

A utility function that checks if a variable is undefined or not defined in the same way as null, NaN, empty strings, arrays, and objects.

stars
5
forks
3
watching
3
awesome list
1
View on GitHubfibo.github.io/not-defined

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/fibo/not-defined/links.svg)](https://awesome.facts.dev/awesome/fibo/not-defined)
HTML
<a href="https://awesome.facts.dev/awesome/fibo/not-defined"><img src="https://awesome.facts.dev/shield/fibo/not-defined/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/fibo/not-defined/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.