UNPKG

@zohodesk/components

Version:

Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development

26 lines (21 loc) 592 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _exports = {}; var types = 'Array Object String Date RegExp Function Boolean Number Null Undefined'.split(' '); var type = function type() { return Object.prototype.toString.call(this).slice(8, -1); }; for (var i = types.length; i--;) { /*eslint-disable */ _exports['is' + types[i]] = function (self) { return function (elem) { return type.call(elem) === self; }; }(types[i]); } /*eslint-enable */ var _default = _exports; exports["default"] = _default;