Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
9 lines
244 B
JavaScript
9 lines
244 B
JavaScript
// https://babeljs.io/docs/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 #.)
|