@dwlib/types
v1.0.1
Published
Types
Downloads
31
Readme
Types
Install
npm i --save @dwlib/types
Usage
// CJS
const Types = require('@dwlib/types');
const IsType = require('@dwlib/types/<FunctionName>');
const IsCallable = require('@dwlib/types/isCallable');
const IsClassConstructor = require('@dwlib/types/isClassConstructor');
const IsConstructor = require('@dwlib/types/isConstructor');
const IsObject = require('@dwlib/types/isObject');
// ESM
import Types from '@dwlib/types';
import IsType from '@dwlib/types/<FunctionName>';
import IsCallable from '@dwlib/types/isCallable';
import IsClassConstructor from '@dwlib/types/isClassConstructor';
import IsConstructor from '@dwlib/types/isConstructor';
import IsObject from '@dwlib/types/isObject';