Function: icalendar-value-type-from-params
icalendar-value-type-from-params is a byte-compiled function defined
in icalendar-parser.el.gz.
Signature
(icalendar-value-type-from-params PARAMS)
Documentation
Return the type symbol associated with any VALUE parameter in PARAMS.
PARAMS should be a list of parameter nodes. The type symbol specified by
the first icalendar-valuetypeparam in PARAMS, or nil, will be returned.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:value-type-from-params (params)
"Return the type symbol associated with any VALUE parameter in PARAMS.
PARAMS should be a list of parameter nodes. The type symbol specified by
the first `icalendar-valuetypeparam' in PARAMS, or nil, will be returned."
(catch 'found
(dolist (param params)
(when (ical:value-param-p param)
(let ((type (ical:ast-node-value
(ical:ast-node-value param))))
(throw 'found type))))))