Function: proced-<
proced-< is a byte-compiled function defined in proced.el.gz.
Signature
(proced-< NUM1 NUM2)
Documentation
Return t if NUM1 less than NUM2.
Return equal if NUM1 equals NUM2. Return nil if NUM1 greater than NUM2.
Source Code
;; Defined in /usr/src/emacs/lisp/proced.el.gz
;; Proced predicates for sorting and filtering are based on a three-valued
;; logic:
;; Predicates take two arguments P1 and P2, the corresponding attribute
;; values of two processes. Predicates should return 'equal if P1 has
;; same rank like P2. Any other non-nil value says that P1 is "less than" P2,
;; or nil if not.
(defun proced-< (num1 num2)
"Return t if NUM1 less than NUM2.
Return `equal' if NUM1 equals NUM2. Return nil if NUM1 greater than NUM2."
(if (= num1 num2)
'equal
(< num1 num2)))