Value.createJsVal
JSCValue * createJsVal(T)(JSCContext * ctx, T val)Template to create a JSCValue from a given D value
Parameters
T | D type to create the C JSCValue from |
ctx | The JSCContext to create the value in |
val | The value to create the JSCValue from |
Returns
The new JSCValue which the caller owns