Function: org-koma-letter--get-value

org-koma-letter--get-value is a byte-compiled function defined in ox-koma-letter.el.gz.

Signature

(org-koma-letter--get-value VALUE)

Documentation

Turn value into a string whenever possible.

Determines if VALUE is nil, a string, a function or a symbol and return a string or nil.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-koma-letter.el.gz
(defun org-koma-letter--get-value (value)
  "Turn value into a string whenever possible.
Determines if VALUE is nil, a string, a function or a symbol and
return a string or nil."
  (when value
    (cond ((stringp value) value)
          ((functionp value) (funcall value))
          ((symbolp value) (symbol-name value))
          (t value))))