README
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