@coetry/simpletypes

simple type checks for js

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Dec 6, 2018Aug 14, 2018Minified + gzip package size for @coetry/simpletypes in KB

Readme

simpletypes

7 functions are exported to check for simple JS types

isANumber(3)
isAString('yo')
isAnArray([7, 8, 9])
isAnObject({name: 'foolan', isCool: false})
isAFunction(x => x)
isABoolean(true)
isUndefined(undefined)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.