UNPKG

@jedmao/redux-mock-store

Version:

A mock store for testing your redux async action creators and middleware

8 lines (7 loc) 254 B
export function isFunction(value) { return 'function' === typeof value; } export function isPlainObject(value) { return (Object.prototype.toString.call(value) === '[object Object]' && Object.getPrototypeOf(value) === Object.prototype); }