function createConstantNode(value, valueType) {
    return new ConstantNode(numeric(value, valueType || config.number));
  }
Helper function to create a constant node with a specific type
(number, BigNumber, Fraction)
@param {number} value
@param {string} [valueType]
@return {ConstantNode}