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 2 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T20:39:24.000Z (over 4 years ago)
- Last Synced: 2025-02-02T13:22:41.680Z (3 months 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';
```