"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Getter_1 = require("../../../../../Class/Getter");
const _ids_1 = require("../../../../_ids");
class HasKey extends Getter_1.Getter {
    constructor(system) {
        super({
            i: ['obj', 'key'],
            o: ['has'],
            $i: 'obj',
            $o: 'has',
            $m: 'hasKey',
            $_: ['J'],
        }, {
            input: {
                obj: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_HAS_KEY_0);
    }
    opt({ key }) {
        return { key };
    }
}
exports.default = HasKey;
//# sourceMappingURL=index.js.map