ilArgMatchesSpecializer
ilArgMatchesSpecializer(g_genericFunctionObj g_specObj g_argument)=>t/nil
Description
Determines whether a argument passed to the generic function at run time matches a particular specializer class, so that it then knows which method should be called.
Arguments
|
An instance of the ilGenericFunction class or a proxy class derived from it. |
|
|
An instance of the specializer class being compared against. |
|
Value Returned
Examples
defmethod(ilArgMatchesSpecializer (_gf (spec abDbFigSpecializer) (arg dbobject))
spec->objType==arg->objType
)
Related Topics
Examples of How to use Custom Specializers in SKILL++ Methods
Return to top