# simple-value-check

> javascript value check

Latest version **1.0.5** (published 2019-12-18) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install simple-value-check
pnpm add simple-value-check
yarn add simple-value-check
bun add simple-value-check
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-12-18 |
| First published | 2019-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jun k |
| Maintainers | devbono |
| Keywords | javascript value check, simple value check, js value check, check javascript value check, javascript type check, javascript check type |

## Links

- npm: https://www.npmjs.com/package/simple-value-check
- Repository: https://github.com/kdeveloper87/simple-value-check
- Issues: https://github.com/kdeveloper87/simple-value-check/issues
- npm.io page: https://npm.io/package/simple-value-check

## Recent versions

- 1.0.5 (latest) — 2019-12-18
- 1.0.4 — 2019-12-17
- 1.0.3 — 2019-12-17
- 1.0.2 — 2019-12-17
- 1.0.1 — 2019-12-17
- 1.0.0 — 2019-12-17

## README

## simple value check
> Install

~~~
npm install simple-value-check
~~~

> example

[Example Link.](https://codesandbox.io/s/simple-value-check-wwsyi)

> Usage

```javascript
import vk from 'simple-value-check';

console.log( vk.isObject({}) );
console.log( vk.isFunction(()=>{}) );
console.log( vk.isNumber(1) );
console.log( vk.isString("1") );
console.log( vk.isBoolean(true) );
console.log( vk.isNull(null) );
console.log( vk.isArray([]) );
console.log( vk.isHasOwnProp({a:1}) );
console.log( vk.isNotEmptyString("1"));
console.log( vk.isNotEmptyArray([1]) );
console.log( vk.isExist(2) );
console.log( vk.isUndefined(undefined) );

```

|method|Description|
|------|---|
|isObject|If the constructor of value is an Object, true is returned; otherwise, false is. 
|isFunction|If the constructor of value  is an Function, true is returned; otherwise, false is. 
|isString|If the value is an String, true is returned; otherwise, false is. 
|isBoolean|If the value is an Boolean, true is returned; otherwise, false is. 
|isNull|If the value is an Null, true is returned; otherwise, false is. 
|isArray|If the value is an Array, true is returned; otherwise, false is. 
|isHasOwnProp|If the property exist, true is returned; otherwise, false is. 
|isNotEmptyString|If the value is an String and not empty, true is returned; otherwise, false is. 
|isNotEmptyArray|If the value is an Array and not empty, true is returned; otherwise, false is. 
|isExist|If the value is not null and undefined, true is returned; otherwise, false is. 
|isUndefined|If the value is an undefined, true is returned; otherwise, false is.

---
_Source: https://npm.io/package/simple-value-check · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
