0.0.3 • Published 10 years ago

betta v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

ß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

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago