@minionorg/share
Version:
2 lines (1 loc) • 523 B
JavaScript
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.index={}))})(this,function(e){"use strict";function t(n){return n.charAt(0).toUpperCase()+n.slice(1)}function o(n){if(!n)throw new SyntaxError("type is must");return function(i){return Object.prototype.toString.call(i)===`[object ${t(n)}]`}}e.default=o,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});