# ifis

> [Github](https://github.com/razod/ifis) [NPM](https://npmjs.org/ifis)

Latest version **1.0.4** (published 2019-08-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install ifis
pnpm add ifis
yarn add ifis
bun add ifis
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-08-14 |
| First published | 2019-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Razviti |
| Maintainers | masontrv |
| Keywords | ifnumber, ifis, ifisnumber, ifstring, ifobject, iffunction, ifboolean |

## Links

- npm: https://www.npmjs.com/package/ifis
- Repository: https://github.com/razod/ifis
- Homepage: https://github.com/razod/ifis#readme
- Issues: https://github.com/razod/ifis/issues
- npm.io page: https://npm.io/package/ifis

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-08-14
- 1.0.3 — 2019-08-14
- 1.0.2 — 2019-08-14
- 1.0.1 — 2019-08-14
- 1.0.0 — 2019-08-14

## README

# IfIs

[Github](https://github.com/razod/ifis)
[NPM](https://npmjs.org/ifis)

Ifis is an npm package to see what the typeof is. Go to **All Variables** to see how you can use this package and what its uses are.

# Usage
### Getting Started

Okay so you wanna get started! So there are some easy steps to get started. First you should require the package;

```javascript
const if = reqiure("Ifis");
```

Then, you are free to use ifis! For example:

```javascript
const if = reqiure("Ifis");

console.log(if.isstr('epiccc')) // output: true
console.log(if.isstr(21)) // output: false
```

# All Variables

```javascript
if.isNum(22) // Output: True
if.isNum('hey') // Output: False
```
Checks for a number.       
```javascript
if.isStr(312) // Output: False
if.isStr('hey') // Output: True
```
Checks for a string.    
```javascript
if.isObj(['hi', '22']) // Output: True
if.isObj(22) // Output: False
```
Checks for an object.    
```javascript
if.isBool(['hi', '22']) // Output: False
if.isBool(true) // Output: True
```
Checks for a boolean.    
```javascript
if.isFunc(['hi', '22']) // Output: False
if.isFunc('hi') // Output: False
if.isFunc(ifis.isFunc(class C {})) // Output: True
```
Checks for a function.

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