JSValue.TryUnwrap method
Attempts to get the object that was previously attached to this JSValue.
C#
public object? TryUnwrap()
Return Value
The unwrapped object, or null if nothing was wrapped.
See Also
- struct JSValue
- namespace Microsoft.JavaScript.NodeApi