* Avoid to conflicts to v8intrinsic plugin * Support hack-style pipeline * Update tests for hask-style pipeline * Update tests 2 * Add changelog * Update misc tests * Address reviews * Fix type error * Copy plugin array * Add tests * Address review * Add error tests
9 lines
247 B
JavaScript
9 lines
247 B
JavaScript
// https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator
|
|
// https://github.com/js-choi/proposal-hack-pipes
|
|
|
|
return list
|
|
|> take(prefix.length, %)
|
|
|> equals(%, prefix);
|
|
|
|
// (The % token isn't final; it might instead be @ or ? or #.)
|