import { __require as requireType } from "../../es-errors/type.js";
import { __require as requireIsObject } from "../../es-object-atoms/isObject.js";
import { __require as requireGet } from "./Get.js";
import { __require as requireToLength } from "./ToLength.js";
var LengthOfArrayLike;
var hasRequiredLengthOfArrayLike;
function requireLengthOfArrayLike() {
  if (hasRequiredLengthOfArrayLike) return LengthOfArrayLike;
  hasRequiredLengthOfArrayLike = 1;
  var $TypeError = requireType();
  var isObject = requireIsObject();
  var Get = requireGet();
  var ToLength = requireToLength();
  LengthOfArrayLike = function LengthOfArrayLike2(obj) {
    if (!isObject(obj)) {
      throw new $TypeError("Assertion failed: `obj` must be an Object");
    }
    return ToLength(Get(obj, "length"));
  };
  return LengthOfArrayLike;
}
export {
  requireLengthOfArrayLike as __require
};
