"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class StartsWith extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['str', 'search', 'position'],
            o: ['test'],
        }, {}, system, _ids_1.ID_STARTS_WITH);
    }
    f({ str, search, position }, done) {
        const test = str.startsWith(search, position);
        done({ test });
    }
}
exports.default = StartsWith;
//# sourceMappingURL=index.js.map