1.0.0 • Published 6 years ago
otype v1.0.0
otype
Motivation
Reuse
Installation
$ npm install --save otype
Usage
const otype = require("otype");
console.log(otype(1)); // Outputs: "Number"
console.log(otype(Null)); // Outputs: "Null"
console.log(otype()); // Outputs: "Undefined"
console.log(otype("a", true, Symbol("sym"))); // Outputs: ["String", "Boolean", "Symbol"]
License
MIT © wmik
1.0.0
6 years ago