Robochameleon  v1.0
Functions
inherits_from.m File Reference

Determine whether an object inherits from a specified superclass. More...

Go to the source code of this file.

Functions

function inherits_from (in obj, in className)
 Determine whether an object inherits from a specified superclass. More...
 

Detailed Description

Determine whether an object inherits from a specified superclass.

Utility function for module construction - makes sure the next unit in a module is in fact a unit.

Version
1

Definition in file inherits_from.m.

Function Documentation

function inherits_from ( in  obj,
in  className 
)

Determine whether an object inherits from a specified superclass.

Parameters
objObject to test
classNameName of superclass
Return values
tfBoolean true/false