https://github.com/ooade/micro-typeof
✍🏿Get the exact type of a value
https://github.com/ooade/micro-typeof
typeof typescript
Last synced: 3 months ago
JSON representation
✍🏿Get the exact type of a value
- Host: GitHub
- URL: https://github.com/ooade/micro-typeof
- Owner: ooade
- Created: 2020-03-05T07:33:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-22T13:09:23.000Z (over 1 year ago)
- Last Synced: 2025-03-29T08:33:10.586Z (3 months ago)
- Topics: typeof, typescript
- Language: TypeScript
- Homepage:
- Size: 366 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Micro TypeOf
## 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