"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const symbols_1 = require("../symbols");
Object.defineProperties(Object, {
    [symbols_1.is]: {
        value(a) {
            return a != null && !Array.isArray(a) && typeof a === "object";
        }
    },
});
Object.defineProperties(Object.prototype, {
    [Symbol.iterator]: {
        *value() {
            for (let name in this) {
                let value = this[name];
                yield [name, value];
            }
        }
    }
});
