The function get-defmethod-list returns a multifield value containing method name/indices pairs for all defmethod constructs that are currently defined. The optional generic-function name parameter restricts the methods return to only those of the specified generic function.
Syntax
(get-defmethod-list [<generic-function-name>])
Example
CLIPS> (clear) CLIPS> (get-defmethod-list) () CLIPS> (defmethod foo ((?x STRING))) CLIPS> (defmethod foo ((?x INTEGER))) CLIPS> (defmethod bar ((?x STRING))) CLIPS> (defmethod bar ((?x INTEGER))) CLIPS> (get-defmethod-list) (foo 1 foo 2 bar 1 bar 2) CLIPS> (get-defmethod-list foo) (foo 1 foo 2) CLIPS>