@littlelane/data-type

2.0.1 • Public • Published

@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

Package Sidebar

Install

npm i @littlelane/data-type

Weekly Downloads

4

Version

2.0.1

License

MIT

Unpacked Size

2.04 kB

Total Files

4

Last publish

Collaborators

  • littlelane