import { r as _toIobject, n as _objectKeys, d as _descriptors } from './_to-object-cedb5b78.js';
import { a as _objectPie } from './_object-pie-33c40e79.js';

var isEnum = _objectPie.f;
var _objectToArray = function (isEntries) {
  return function (it) {
    var O = _toIobject(it);
    var keys = _objectKeys(O);
    var length = keys.length;
    var i = 0;
    var result = [];
    var key;
    while (length > i) {
      key = keys[i++];
      if (!_descriptors || isEnum.call(O, key)) {
        result.push(isEntries ? [key, O[key]] : O[key]);
      }
    }
    return result;
  };
};

export { _objectToArray as _ };
