typeof3

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i typeof3

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

4.16 kB

Total Files

6

Last publish

Collaborators

  • fellgill