typeof3
v0.0.1
Published
Returns the primitive type of the argument
Downloads
1
Readme
Typeof3, by babel
Returns the primitive type of the argument.
How to use ?
Started by installing the package
In npm :
npm install typeof3
ornpm install github:algorithmsjs/typeof3
In yarn :
yarn add typeof3
oryarn add github:algorithmsjs/typeof3
In pnpm :
pnpm add typeof3
orpnpm 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