source: frontend/node_modules/tailwindcss/lib/util/isPlainObject.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 470 bytes
RevLine 
[9af201e]1"use strict";
2Object.defineProperty(exports, "__esModule", {
3 value: true
4});
5Object.defineProperty(exports, "default", {
6 enumerable: true,
7 get: function() {
8 return isPlainObject;
9 }
10});
11function isPlainObject(value) {
12 if (Object.prototype.toString.call(value) !== "[object Object]") {
13 return false;
14 }
15 const prototype = Object.getPrototypeOf(value);
16 return prototype === null || Object.getPrototypeOf(prototype) === null;
17}
Note: See TracBrowser for help on using the repository browser.