Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment: indexOf returns first occurrence #321

Open
0xDatapunk opened this issue Sep 11, 2024 · 0 comments
Open

comment: indexOf returns first occurrence #321

0xDatapunk opened this issue Sep 11, 2024 · 0 comments
Labels
audit 🔍 This issue is related to an audit. documentation 📖 Improvements or additions to documentation good first issue Good for newcomers

Comments

@0xDatapunk
Copy link
Collaborator

/**
* It returns the index of a leaf. If the leaf does not exist it returns -1.
* @param leaf A leaf of the tree.
* @returns The index of the leaf.
*/

can we add to the comment that It returns the index of the first occurrence of the specified element in the array?

@github-project-automation github-project-automation bot moved this to 📋 Backlog in ZK-Kit Sep 11, 2024
@cedoor cedoor added documentation 📖 Improvements or additions to documentation audit 🔍 This issue is related to an audit. labels Sep 12, 2024
@cedoor cedoor added the good first issue Good for newcomers label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit 🔍 This issue is related to an audit. documentation 📖 Improvements or additions to documentation good first issue Good for newcomers
Projects
Status: ♻️ Grooming
Development

No branches or pull requests

2 participants