getJsVal

fnT getJsVal(T)(JSCValue * jsval) static nothrow

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