export default function hasProperty( object: Parameters[0], key: Parameters[1], ): ReturnType { return Object.hasOwn(object, key) }