betta

0.0.3 • Public • Published

ß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

/betta/

    Package Sidebar

    Install

    npm i betta

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • inhji