npm.io
2.0.0 • Published 6 years ago

@writetome51/has-value-no-value

Licence
MIT
Version
2.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

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

import { hasValue, noValue } from '@writetome51/has-value-no-value';

Keywords