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

Add method for "not equal" #278

Open
fvictorio opened this issue Jun 7, 2021 · 0 comments
Open

Add method for "not equal" #278

fvictorio opened this issue Jun 7, 2021 · 0 comments

Comments

@fvictorio
Copy link

As far as I can tell, there isn't a method for checking if two BN instances are different. Of course, you can do !x.eq(y), but since there is already a lot of redundancy with the .eq, .lt, .lte, .gt and .gte methods, it seems reasonable to me to add a .ne (or whatever the name) function?

(Sorry if this has been discussed before! I looked for it but couldn't find anything).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant