UNPKG

@prezly/uploads

Version:

Types and utilities to handle uploaded files & images in Prezly

14 lines (10 loc) 626 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isObject = isObject; var _isPlainObject = require("is-plain-object"); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } function isObject(value) { return value !== null && _typeof(value) === 'object' && (0, _isPlainObject.isPlainObject)(value); }