|
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
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 3 | value: true
|
|---|
| 4 | });
|
|---|
| 5 | Object.defineProperty(exports, "default", {
|
|---|
| 6 | enumerable: true,
|
|---|
| 7 | get: function() {
|
|---|
| 8 | return isPlainObject;
|
|---|
| 9 | }
|
|---|
| 10 | });
|
|---|
| 11 | function 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.