@hora/type

v0.2.0
Improved typeof detection.

@hora/type

Build Status npm version

Install

$ yarn add @hora/type

Usage

import type from '@hora/type';

type({}); // => 'plain-object'
type([]); // => 'array'
type(/a/); // => 'regexp'
type(new Map()); // => 'map'

For more in depth documentation see: http://hora.io/docs/type/

npm i @hora/[email protected]

Metadata

  • MIT
  • >= 6.0.0
  • Paul Chavard
  • released 5/7/2017

Downloads

Maintainers