"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const _ids_1 = require("../../../../_ids");
class HasChild extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['parent', 'at'],
            o: ['test'],
        }, {
            input: {
                parent: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_HAS_CHILD);
    }
    f({ parent, at }, done) {
        const test = parent.hasChild(at);
        done({ test });
    }
}
exports.default = HasChild;
//# sourceMappingURL=index.js.map