@pakal/tag-of
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@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.

Package Sidebar

Install

npm i @pakal/tag-of

Weekly Downloads

3

Version

0.2.1

License

MIT

Unpacked Size

13.7 kB

Total Files

15

Last publish

Collaborators

  • yisraelx