0.0.1 • Published 4 years ago

typeof3 v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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

NameType
objAny
  • 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