Preview: verifyPlainObject.js
Size: 295 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/es/utils/verifyPlainObject.js
import isPlainObject from './isPlainObject';
import warning from './warning';
export default function verifyPlainObject(value, displayName, methodName) {
if (!isPlainObject(value)) {
warning(`${methodName}() in ${displayName} must return a plain object. Instead received ${value}.`);
}
}
Directory Contents
Dirs: 0 × Files: 24