IsDef —
boolean IsDef( | className, | |
allTypes); |
| string | className; |
| boolean | allTypes; |
static method used to check if a class is defined
Parameters
the name of the class you want to check for existence
if true check also if, generally, an extension exists with that name. Note that an extension declaring only functions doesn't exist as a class, so this is the only way to check for them.