UNPKG

pocket-hook-form

Version:

pocket-store base hook form

11 lines (8 loc) 262 B
import isObject from './isObject'; export default (tempObject: object) => { const prototypeCopy = tempObject.constructor && tempObject.constructor.prototype; return ( isObject(prototypeCopy) && prototypeCopy.hasOwnProperty('isPrototypeOf') ); };