UNPKG

vanilla-type-check

Version:
8 lines (7 loc) 235 B
/** * Check if a value is a plain object (that is, not a class instance, etc.) * * @param value value to check * @returns `true` if `obj` is a plain object */ export declare function isPlainObject(value: any): value is {};