2.0.1 • Published 5 years ago

@littlelane/data-type v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@littlelane/data-type

npm (scoped) npm bundle description (test demo)

It's the the npm module for type of data!

Gets type of a parameter.

Install

npm install @littlelane/data-type

Usage

> const dataType = require('@littlelane/data-type');

> dataType('good');
> // => string

> dataType(undefined);
> // => undefined

> dataType([]);
> // => array