get-method [Function]
Purpose
The get-method function returns the method having a specified name and title.
Syntax
get-method action title &key no-error-p
Arguments
The action argument is an action, or the name of an action.
The title argument is a string which titles a method.
If the no-error-p argument is t, then no error is generated if Loom cannot find a method having the specified name and title.
Value
The get-method function returns the method with the specified name and title. If there is none, nil is returned if no-error-p is set, and otherwise an error is generated.
Remarks
The get- functions are faster and do less error-checking than the find- functions. In particular, get-method is much faster than find-method.
Examples
(get-method 'move "move box") ==> |METHOD|MOVE-"move box"
(get-method 'open "open box" :no-error-p t) ==> |METHOD|OPEN-"open box"
See Also
Last modified: Jun 1 1995