@anishshobith/deeptype

Npm package for deep checking of types.

Usage no npm install needed!

<script type="module">
  import anishshobithDeeptype from 'https://cdn.skypack.dev/@anishshobith/deeptype';
</script>

README

DeepType

Npm package for checking deep types

Installation

Npm:

npm i @anishshobith/deeptype

Yarn:

yarn add @anishshobith/deeptype

Usage

JavaScript:

const { Type } = require('@anishshobith/deeptype');

const type = new Type(40);

console.log(type.toString()); // number

TypeScript:

import { Type } = from '@anishshobith/deeptype';

const type = new Type(40);

console.log(type.toString()); // number