@jedmao/redux-mock-store
Version:
A mock store for testing your redux async action creators and middleware
12 lines (11 loc) • 389 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function isFunction(value) {
return 'function' === typeof value;
}
exports.isFunction = isFunction;
function isPlainObject(value) {
return (Object.prototype.toString.call(value) === '[object Object]' &&
Object.getPrototypeOf(value) === Object.prototype);
}
exports.isPlainObject = isPlainObject;