UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

16 lines 362 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.flow = void 0; /** * 类似 lodash.flow 的方法 * @param flows */ function flow(...flows) { return (param) => { return flows.reduce((result, f) => { return f(result); }, param); }; } exports.flow = flow; //# sourceMappingURL=flow.js.map