stevenvachon

stevenvachon/evaluate-value

Return a value or an evaluated function (with arguments).

JavaScript
1
0
MIT License

**evaluate-value** is a tiny Node.js utility that normalizes input to a concrete result: if the first argument is a function it’s invoked with any subsequent arguments and its return value is returned; otherwise the first argument itself is returned unchanged. It’s useful for developers who need a simple, consistent way to handle values that may be static or lazily‑computed functions without writing repetitive type‑checking code.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stevenvachon/evaluate-value

Account's avatar
Babel command line.
Account's avatar
Babel compiler core.
Account's avatar
A Babel preset for each environment.
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on this repository

Top contributors

stevenvachon's profile
stevenvachon
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet