if-fun
Returns the first argument if it is a function (regular, async, generator, …), or your custom fallback value otherwise.
Activity
- Latest release
- 4y ago
- Total releases
- 2
- Cadence
- ~2.1 years
- Last 12 months
- 0
Details
- License
- ISC
- First release
- Jan 19, 2020
Releases
| Version | Released | |
|---|---|---|
1.0.1
patch
| ||
1.0.0
initial
|