Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

The **error-if-index-how-many-or-array-are-not-valid** package provides a single utility function `errorIfIndex_howMany_orArray_areNotValid(index, howMany, array)` that throws a clear error when the supplied arguments are unusable: the `array` lacks a `.length` property, `index` is outside the bounds of the array (negative values are allowed), or `howMany` is not a positive integer. It’s aimed at JavaScript/Node developers who need lightweight, reusable argument validation for functions that work with array slices or similar index‑based operations.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of writetome51/error-if-index-how-many-or-array-are-not-valid

Account's avatar
writetome51/error-if-index-not-valid
Function triggers error if a given index cannot exist in a given array length
Account's avatar
writetome51/error-if-not-integer
Triggers error if argument is not integer of type 'number'

Support the repos that depend on this repository

Top contributors

writetome51-2's profile
writetome51-2
5 contributions

Recent events

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

No events yet
writetome51

writetome51/error-if-index-how-many...

Function triggers error if a given index, array, or 'howMany' items request is not valid

JavaScript
0
0
MIT License