npm i class-of
const classOf = require('class-of')
classOf(new Number(1))
//=> 'number'
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
class-of © lijsh, Released under the MIT License.
Authored and maintained by lijsh with help from contributors (list).
github.com/lijsh · GitHub @lijsh · Twitter @lijiashen