[HARLEQUIN][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


Local Function NEXT-METHOD-P

Syntax:

next-method-p <no arguments> => generalized-boolean

Arguments and Values:

generalized-boolean---a generalized boolean.

Description:

The locally defined function next-method-p can be used within the body forms (but not the lambda list) defined by a method-defining form to determine whether a next method exists.

The function next-method-p has lexical scope and indefinite extent.

Whether or not next-method-p is fbound in the global environment is implementation-dependent; however, the restrictions on redefinition and shadowing of next-method-p are the same as for symbols in the COMMON-LISP package which are fbound in the global environment. The consequences of attempting to use next-method-p outside of a method-defining form are undefined.

Examples: None.

Affected By: None.

Exceptional Situations: None.

See Also:

call-next-method, defmethod, call-method

Notes: None.


The following X3J13 cleanup issues, not part of the specification, apply to this section:


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996, The Harlequin Group Limited. All Rights Reserved.