Value.getJsVal

T getJsVal(T)(JSCValue * jsval)

Template to get a value from a JSCValue of a given D type (must contain the correct type)

Parameters

TD type which the C GValue structure contains
jsvalC JSCValue structure pointer

Returns

The value of type T