Libraryless. Click here for Pure Java version (3431L/19K).
sS replaceDollarVars(S s, O... params) { if (empty(params)) ret s; MapSO vars = mapKeys dropDollarPrefix((MapSO) litcimap(params)); ret replaceDollarVars_dyn(s, var -> strOrNull(vars.get(var))); } sS replaceDollarVars(S s, IF1<S> f) { ret replaceDollarVars_dyn(s, f); }
Began life as a copy of #1028669
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment