Skip to content

JSRuntimeContext.CreateStruct<T> method

Creates a new (empty) JS instance for a struct.

C#
public JSValue CreateStruct<T>()
    where T : struct

Return Value

The JS wrapper.

See Also

Released under the MIT license