Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/writetome51/has-value-no-value
Functions that check if argument is, or is not, undefined or null
https://github.com/writetome51/has-value-no-value
is javascript null type-check undefined value
Last synced: about 16 hours ago
JSON representation
Functions that check if argument is, or is not, undefined or null
- Host: GitHub
- URL: https://github.com/writetome51/has-value-no-value
- Owner: writetome51
- License: mit
- Created: 2019-04-09T18:19:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T20:39:24.000Z (over 4 years ago)
- Last Synced: 2024-12-11T04:56:05.658Z (23 days ago)
- Topics: is, javascript, null, type-check, undefined, value
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hasValue(arg): boolean
Returns true if `arg` is neither undefined or null.
# noValue(arg): boolean
Returns true if `arg` is either undefined or null.
## Installation
`npm i @writetome51/has-value-no-value`## Loading
```js
import { hasValue, noValue } from '@writetome51/has-value-no-value';
```