Home Reference Source Test Repository

buildDocs/applicators/BindApplicator.js

import { Applicator } from './Applicator';
export class BindApplicator extends Applicator {
    apply({ value, config: { execute }, args, instance, target }) {
        if (!instance) {
            return value;
        }
        return execute(value, instance, ...args);
    }
}