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
TypeScript definitions for node
Account's avatar
A Spelling Checker for Code!
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
Next generation testing framework powered by Vite

Support the repos that depend on this repository

Top contributors

stevenvachon's profile
stevenvachon
7 contributions

Recent events

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

No events yet