@yurkimus/types

0.0.15 • Public • Published

Types

JavaScript-first utilities to work with it's built-in types.

Table of Contents

Installation

npm

npm install @yurkimus/types

urls

"@yurkimus/types": "npm:@yurkimus/types"
"@yurkimus/types": "github:yurkimus/types"
"@yurkimus/types": "https://raw.githubusercontent.com/yurkimus/types/main/source/index.js"

Exports

type

Definition:

type :: * -> string

Example:

type({}) // => 'Object'

is

Definition:

is :: string -> * -> boolean

Example:

// Standard
is('Object', {}) // => true

// Curried
is('Array')([]) // => true

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @yurkimus/types

Weekly Downloads

21

Version

0.0.15

License

none

Unpacked Size

3.96 kB

Total Files

6

Last publish

Collaborators

  • yurkimus