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