UNPKG

@jplorg/jpl

Version:
16 lines (13 loc) 326 B
import { call } from '../utils'; export default { /** { pipe: [op] } */ op(runtime, input, target, params, scope, next) { return runtime.executeInstructions(params.pipe ?? [], [input], scope, next); }, /** { pipe: function } */ map(runtime, params) { return { pipe: call(params.pipe), }; }, };