Function: org-babel--get-vars

org-babel--get-vars is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel--get-vars PARAMS)

Documentation

Return the babel variable assignments in PARAMS.

PARAMS is a quasi-alist of header args, which may contain multiple entries for the key :var. This function returns a list of the cdr of all the :var entries.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel--get-vars (params)
  "Return the babel variable assignments in PARAMS.

PARAMS is a quasi-alist of header args, which may contain
multiple entries for the key `:var'.  This function returns a
list of the cdr of all the `:var' entries."
  (mapcar #'cdr
	  (cl-remove-if-not (lambda (x) (eq (car x) :var)) params)))