function formatQuantityOrTag(value, encode) {
  var output = value; // eslint-disable-line

  // if the value is a tag, bypass
  if (schema.tags.indexOf(value) === -1) {
    output = formatQuantity(value, encode);
  }

  return output;
}
function formatQuantityOrTag(value, encode) {
  var output = value; // eslint-disable-line

  // if the value is a tag, bypass
  if (schema.tags.indexOf(value) === -1) {
    output = formatQuantity(value, encode);
  }

  return output;
}
function formatQuantityOrTag ( value , encode ) { var output = value ; // eslint-disable-line // if the value is a tag, bypass if ( schema . tags . indexOf ( value ) === - 1 ) { output = formatQuantity ( value , encode ) ; } return output ; }
Format quantity or tag, if tag bypass return, else format quantity
should intake null, stringNumber, number, BN, string tag

@method formatQuantityOrTag
@param {String|BigNumber|Number} value quantity or tag to convert
@param {Boolean} encode encode the number to hex or decode to BigNumber
@returns {Object|String} output to BigNumber or string
@throws error if value is a float
Format quantity or tag if tag bypass return else format quantity should intake null stringNumber number BN string tag