# ic-utils

> A common assertion library is convenient for daily development

Latest version **1.0.16** (published 2018-06-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install ic-utils
pnpm add ic-utils
yarn add ic-utils
bun add ic-utils
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.16 |
| Published | 2018-06-24 |
| First published | 2018-05-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 21.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | xxxxxMiss |
| Maintainers | qschqd |
| Keywords | assertion |

## Links

- npm: https://www.npmjs.com/package/ic-utils
- Repository: https://github.com/xxxxxMiss/ic-utils/tree/master/packages/util
- npm.io page: https://npm.io/package/ic-utils

## Recent versions

- 1.0.16 (latest) — 2018-06-24
- 1.0.14 — 2018-05-25
- 1.0.11 — 2018-05-23
- 1.0.3 — 2018-05-21
- 1.0.2 — 2018-05-21
- 1.0.1 — 2018-05-20

## README

# ic-utils
> A common assertion library for daily development.

### Install
> npm i ic-utils || yarn add ic-utils

### Methods

#### isString(value)
> returned true if the type of a value is string, or false

#### isPureObj(value)
> returned true if the type of a value is object({}), or false

#### isFn(value)
> returned true if the type of a value is function, or false

#### isBool(value)
> returned true if the type of a value is boolean, or false

#### isArray(value)
> returned true if the type of a value is Array, or false

### Constants

#### isIOS
> returned true if current platform is IOS, or false

#### isAndroid
> returned true if current platform is Android, or false

#### isWechat
> returned true if current platform is wechat(weixin), or false

#### isMobile
> returned true if current device is mobile（include ipad）, or false

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