0.2.1 • Published 5 years ago

@pakal/tag-of v0.2.1

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

@pakal/tag-of

Source Code Version MIT License Bundle Size TypeScript

Tag Of is package from Pakal library

Install

$ yarn add @pakal/tag-of

Or

$ npm install --save @pakal/tag-of

Use

Module

import {
  default as tagOf
} from '@pakal/tag-of';

Browser

<script src="https://unpkg.com/@pakal/tag-of/bundle.umd.min.js"></script>
let {
  tagOf
} = _;

Examples

 tagOf(); // => 'Undefined'
 tagOf({}); // => 'Object'
 tagOf('foo'); // => 'String'
 tagOf(Object(1)); // => 'Number'
 tagOf({[Symbol.toStringTag]: 'Some'}); // => 'Some'

License

Copyright © Yisrael Eliev, Licensed under the MIT license.