Debian Codegraph @

d3-sankey/src/constant.js

raw
1 export default function constant(x) {
2 return function() {
3 return x;
4 };
5 }