معرفی شرکت ها


which-collection-1.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
ویژگی مقدار
سیستم عامل -
نام فایل which-collection-1.0.1
نام which-collection
نسخه کتابخانه 1.0.1
نگهدارنده ['ljharb']
ایمیل نگهدارنده ['ljharb@gmail.com']
نویسنده Jordan Harband
ایمیل نویسنده ljharb@gmail.com
آدرس صفحه اصلی git+https://github.com/inspect-js/which-collection.git
آدرس اینترنتی https://github.com/inspect-js/which-collection#readme
مجوز MIT
# which-collection <sup>[![Version Badge][2]][1]</sup> [![Build Status][3]][4] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][11]][1] Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag. ## Example ```js var whichCollection = require('which-collection'); var assert = require('assert'); assert.equal(false, whichCollection(undefined)); assert.equal(false, whichCollection(null)); assert.equal(false, whichCollection(false)); assert.equal(false, whichCollection(true)); assert.equal(false, whichCollection([])); assert.equal(false, whichCollection({})); assert.equal(false, whichCollection(/a/g)); assert.equal(false, whichCollection(new RegExp('a', 'g'))); assert.equal(false, whichCollection(new Date())); assert.equal(false, whichCollection(42)); assert.equal(false, whichCollection(NaN)); assert.equal(false, whichCollection(Infinity)); assert.equal(false, whichCollection(new Number(42))); assert.equal(false, whichCollection(42n)); assert.equal(false, whichCollection(Object(42n))); assert.equal(false, whichCollection('foo')); assert.equal(false, whichCollection(Object('foo'))); assert.equal(false, whichCollection(function () {})); assert.equal(false, whichCollection(function* () {})); assert.equal(false, whichCollection(x => x * x)); assert.equal(false, whichCollection([])); assert.equal('Map', whichCollection(new Map())); assert.equal('Set', whichCollection(new Set())); assert.equal('WeakMap', whichCollection(new WeakMap())); assert.equal('WeakSet', whichCollection(new WeakSet())); ``` ## Tests Simply clone the repo, `npm install`, and run `npm test` [1]: https://npmjs.org/package/which-collection [2]: http://versionbadg.es/inspect-js/which-collection.svg [3]: https://travis-ci.org/inspect-js/which-collection.svg [4]: https://travis-ci.org/inspect-js/which-collection [5]: https://david-dm.org/inspect-js/which-collection.svg [6]: https://david-dm.org/inspect-js/which-collection [7]: https://david-dm.org/inspect-js/which-collection/dev-status.svg [8]: https://david-dm.org/inspect-js/which-collection#info=devDependencies [9]: https://ci.testling.com/inspect-js/which-collection.png [10]: https://ci.testling.com/inspect-js/which-collection [11]: https://nodei.co/npm/which-collection.png?downloads=true&stars=true [license-image]: http://img.shields.io/npm/l/which-collection.svg [license-url]: LICENSE [downloads-image]: http://img.shields.io/npm/dm/which-collection.svg [downloads-url]: http://npm-stat.com/charts.html?package=which-collection


نیازمندی

مقدار نام
^2.0.1 is-map
^2.0.1 is-set
^2.0.1 is-weakmap
^2.0.1 is-weakset


زبان مورد نیاز

مقدار نام
13.7.0 Npm


نحوه نصب


نصب پکیج tgz which-collection-1.0.1:

    npm install which-collection-1.0.1.tgz