0.0.1 • Published 6 years ago
typeof3 v0.0.1
Typeof3, by babel
Returns the primitive type of the argument.
How to use ?
Started by installing the package
In npm :
npm install typeof3ornpm install github:algorithmsjs/typeof3In yarn :
yarn add typeof3oryarn add github:algorithmsjs/typeof3In pnpm :
pnpm add typeof3orpnpm 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
0.0.1
6 years ago