Context.getClass

Class getClass(T)() nothrow

Template to get a JSC Class from a context.

Parameters

TThe class type

Returns

The JSC Class or null if none registered for the given D class type
Class getClass(string name) nothrow

Template to get a JSC Class from a context by the name that it was registered with (the same as the D class name if not specified on registration).

Parameters

nameThe name of the JSC Class that was registered

Returns

The JSC Class or null if not found