JavaScript-first utilities to work with it's built-in types.
npm install @yurkimus/types
"@yurkimus/types": "npm:@yurkimus/types"
"@yurkimus/types": "github:yurkimus/types"
"@yurkimus/types": "https://raw.githubusercontent.com/yurkimus/types/main/source/index.js"
type :: * -> string
type({}) // => 'Object'
is :: string -> * -> boolean
// Standard
is('Object', {}) // => true
// Curried
is('Array')([]) // => true