self-as
v2.0.1
Published
make able to reuse value as variable
Readme
self-as
self-as is util to reuse value as variable.
This can be used in functional programming.
Example
selfAs(1/* some complex expression */)(someComplexExpr => someComplexExpr / Math.pow(10, someComplexExpr.toString().length))