Function: icalendar-dayno-offset-p

icalendar-dayno-offset-p is a byte-compiled function defined in icalendar-parser.el.gz.

Signature

(icalendar-dayno-offset-p VAL)

Documentation

Return non-nil if VAL is a pair (DAYNO . OFFSET).

DAYNO must be in [0..6] and OFFSET in [-53..53], excluding 0.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:dayno-offset-p (val)
  "Return non-nil if VAL is a pair (DAYNO . OFFSET).
DAYNO must be in [0..6] and OFFSET in [-53..53], excluding 0."
  (and (consp val)
       (cl-typep (car val) '(integer 0 6))
       (cl-typep (cdr val) '(or (integer -53 -1) (integer 1 53)))))