2.0.0 • Published 4 years ago

@writetome51/has-value-no-value v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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';