UNPKG

@jplorg/jpl

Version:
19 lines (18 loc) 483 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _utils = require("../utils"); var _default = exports.default = { /** { by: [op] } */ op(runtime, input, target, params, scope, next) { return runtime.executeInstructions(params.by ?? [], [input], scope, by => next(!runtime.equals(target, by))); }, /** { by: function } */ map(runtime, params) { return { by: (0, _utils.call)(params.by) }; } };