a zip code crypto-currency system good for red ONLY

understandable.js 360B

12345678910111213141516
  1. var sameVendorPrefixes = require('./vendor-prefixes').same;
  2. function understandable(validator, value1, value2, _position, isPaired) {
  3. if (!sameVendorPrefixes(value1, value2)) {
  4. return false;
  5. }
  6. if (isPaired && validator.isVariable(value1) !== validator.isVariable(value2)) {
  7. return false;
  8. }
  9. return true;
  10. }
  11. module.exports = understandable;