typeof3
Returns the primitive type of the argument
Last updated 2 months ago by fellgill .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install typeof3 
SYNC missed versions from official npm registry.

View on NPM View on Github View on Github

Typeof3, by babel

Returns the primitive type of the argument.

How to use ?

Started by installing the package

  • In npm : npm install typeof3 or npm install github:algorithmsjs/typeof3

  • In yarn : yarn add typeof3 or yarn add github:algorithmsjs/typeof3

  • In pnpm : pnpm add typeof3 or pnpm add github:algorithmsjs/typeof3

Documentation

Params

Name Type
obj Any
  • On JavaScript :
// Example
const typeof3 = require('typeof3');

console.log(typeof3('test'));
  • On CoffeeScript :
# Example
typeof3 = require('typeof3')

console.log typeof3 'test'

...

Benchmark

  • typeof3 x 778,958,110 ops/sec ±0.34% (90 runs sampled)
  • typeof x 774,037,905 ops/sec ±0.49% (92 runs sampled)
  • Fastest is typeof3

Current Tags

  • 0.0.1                                ...           latest (2 months ago)

1 Versions

  • 0.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |