Reflect
| Module | ejs |
| Namespace | intrinsic |
| Definition | final class Reflect |
| Inheritance | Reflect Object |
Simple reflection class.
Properties
| Qualifiers | Property | Type | Description |
|---|---|---|---|
| No properties defined | |||
Reflect Methods
| Qualifiers | Method |
|---|---|
| public get | name(): String |
| Get the name of the object. | |
| Reflect(o: Object) | |
| Create a new reflection object. | |
| public get | type(): Type |
| Get the type of the object. | |
| public get | typeName(): String |
| Get the type name of the object. |
Method Detail
get public name(): String
Get the name of the object.
- Returns
- A string describing the name of the object.
Reflect(o: Object)
Create a new reflection object.
- Parameters
get public type(): Type
Get the type of the object.
- Returns
- The type object for object being examined.
get public typeName(): String
Get the type name of the object.
- Returns
- A string containing the type name object for object being examined.