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