Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ooade/micro-typeof

✍🏿Get the exact type of a value
https://github.com/ooade/micro-typeof

typeof typescript

Last synced: about 2 months ago
JSON representation

✍🏿Get the exact type of a value

Awesome Lists containing this project

README

        


Micro TypeOf



npm
travis
downloads/month
pullrequest
firsttimersonly

## Installation

```sh
npm add micro-typeof
```

## Usage

```js
import typeOf from 'micro-typeof';

typeOf([0, 1]) // array
typeOf({ name: 'Ademola' }) // object
typeOf(Symbol('foo') // symbol
typeOf(() => {}) // function
```

## LICENSE

MIT