Value.from

Value from(T)(Context ctx, T val)

Create a new Value from a native D value.

Parameters

TThe type of the value
ctxThe Context object
valThe D value to create the Value from

Returns

The new Value