code: public function getFormattedValue()
      {
          if ($this->format instanceof BaseFormat) {
              $formattedValue = $this->format->get();
          } elseif (is_callable($this->format) || (is_array($this->format) && !empty($this->format[0]) && is_object($this->format[0]))) {
              $formattedValue = $this->evaluateExpression($this->format, [$this->value]);
          } else {
              $formattedValue = $this->value;
          }
  
          if (is_object($formattedValue)) {
              $formattedValue = $formattedValue->viewLink;
          }
  
          return $formattedValue;
      }
docs: Get formatted value.
  
  @return [[@doctodo return_type:getFormattedValue]] [[@doctodo return_description:getFormattedValue]]