@coetry/simpletypes

1.0.0 • Public • Published

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)

/@coetry/simpletypes/

    Package Sidebar

    Install

    npm i @coetry/simpletypes

    Weekly Downloads

    5

    Version

    1.0.0

    License

    none

    Unpacked Size

    2.37 kB

    Total Files

    4

    Last publish

    Collaborators

    • coetry