@coetry/simpletypes
v1.0.0simpletypes
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)
npm i @coetry/simpletypes
Metadata
- Unknown
- Whatever
- Allen Hai
- released 12/6/2018