monitors/monitor.js
/**
   * Return true if a === b. Default implementation assumes BN.js instances.
   */
Return true if a === b. Default implementation assumes BN.js instances.
Return true if a === b . Default implementation assumes BN . js instances .
equals(a, b) {
    if (!(web3.utils.isBN(a) && web3.utils.isBN(b))) {
      throw new Error(`equal-assert: Types were not BN.js when processing equals(..): ${typeof a}, ${typeof b}`);
    }
    return a.eq(b); 
  }
equals ( a , b ) { if ( ! ( web3 . utils . isBN ( a ) && web3 . utils . isBN ( b ) ) ) { throw new Error ( ` ${ typeof a } ${ typeof b } ` ) ; } return a . eq ( b ) ; }
Return true if a === b.
Return true if a === b .
// bn.js