function tryParseToNumber(value) {
  const result = Number(value)
  if (isNaN(result)) {
    return value
  }
  return result
}
@private
@param {string|number} value - Item to attempt to parse to a number
@returns {any} Number if parse to number was successful, otherwise,
original value