code: function toNative(value) {
    if (typeof value === 'string') {
      if (value === '' || value.trim() !== value) {
        return value
      } else if (value === 'true' || value === 'false') {
        return value === 'true'
      } else if (!isNaN(+value)) {
        return +value
      }
    }
    return value
  }
docs: Turns string to native. Example: 'true' -> true '1' -> 1