@writetome51/has-value-no-value

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i @writetome51/has-value-no-value

Weekly Downloads

7

Version

2.0.0

License

MIT

Unpacked Size

2.29 kB

Total Files

4

Last publish

Collaborators

  • writetome51