import { __require as requireType } from "../../es-errors/type.js";
import { __require as requireIsObject } from "../../es-object-atoms/isObject.js";
import { __require as requireIsPropertyKey } from "../helpers/isPropertyKey.js";
var HasProperty;
var hasRequiredHasProperty;
function requireHasProperty() {
  if (hasRequiredHasProperty) return HasProperty;
  hasRequiredHasProperty = 1;
  var $TypeError = requireType();
  var isObject = requireIsObject();
  var isPropertyKey = requireIsPropertyKey();
  HasProperty = function HasProperty2(O, P) {
    if (!isObject(O)) {
      throw new $TypeError("Assertion failed: `O` must be an Object");
    }
    if (!isPropertyKey(P)) {
      throw new $TypeError("Assertion failed: `P` must be a Property Key");
    }
    return P in O;
  };
  return HasProperty;
}
export {
  requireHasProperty as __require
};
