not-defined

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.

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

GitHub

5 stars
3 watching
3 forks
Language: JavaScript
last commit: 6 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jonschlinkert/has-value A utility function to check if an object value exists at a given path or is not empty 26
schwarzkopfb/is-tagged A tool to determine if function calls are made with tagged template strings or regular syntax 5
gummesson/is-empty-object A utility function to determine if an object is empty or not. 11
emludei/checktype A decorator that checks function arguments and return types at runtime. 0
felixthec/strongtyping A decorator that checks function parameters at runtime for correct type compatibility. 108
zeeman/promises A type checking library for Python that uses a promise-based syntax to validate function arguments and return types. 0
mozilla/addons-linter A tool that checks JavaScript code for errors and warnings in web extensions. 318
lukeed/dequal A utility to check for deep equality across various data types 1,371
nhoad/flake8-unused-arguments A plugin to check for unused arguments in functions. 31
joshpurvis/stifle A decorator that enables pseudo-static typing of Python functions 1
fi3ework/vite-plugin-checker A Vite plugin that runs checks for various code analysis tools in a worker thread. 1,000
enspirit/finitio A language and framework for defining, validating, coercing, and documenting data with a focus on precision and interoperability. 394
chaijs/check-error Utility module providing methods to compare and analyze error objects in Node.js and the browser. 14
sindresorhus/is-observable Tool to check if a value is an Observable 39
syntax-tree/hast-util-is-element Utility to check if a node matches certain element criteria in HTML or document structures 12