export default function hasOwnProperty, Y extends PropertyKey>(obj: X, prop: Y): obj is X & Record;