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).
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,.gtand.gtemethods, 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).