subClassesOf
subclassesOf(u_classObject) =>l_subClasses
Description
Returns the ordered list of all (immediate) subclasses of u_classObject. Each element in the list is a class object.
The list is sorted so that each element of the list is a subclass of the remaining elements.
Arguments
Value Returned
|
The list of subclasses. If the argument is not a class object, then l_subClasses is |
Examples
L = superclassesOf( findClass( 'fixnum ))
subclassesOf( findClass( ’primitiveObject ) )
=> (class:list class:port class:funobj class:array class:string
class:symbol class:number
)
subclassesOf( 5 ) => nil
Related Topics
subclassp
Return to top