var ß = require("beta");
Get the type:
ß("ßeta")
// => "string"
Check the type:
ß("Super simple typechecking", "str")
// => true
ß(42, "number")
// => true
These types can be checked for:
- string
- number
- object
- array
- regexp
- date
..or their 3-character equivalents (marked bold).
wtfpl