Home Reference Source Test Repository

buildDocs/applicators/InvokeApplicator.js

import { Applicator } from './Applicator';
export class InvokeApplicator extends Applicator {
    apply({ args, target, config: { execute }, value }) {
        return function (...invokeArgs) {
            return execute(value.bind(this), ...invokeArgs, ...args);
        };
    }
}