JSDate.AsUnchecked<T> method
Creates a T struct from this instance without checking the enclosed handle type. It must be used only when the handle type is known to be correct.
C#
public T AsUnchecked<T>()
where T : struct, IJSValue<T>
parameter | description |
---|---|
T | A struct that implements IJSValue interface. |
Return Value
T struct created based on this instance.
See Also
- interface IJSValue<TSelf>
- struct JSDate
- namespace Microsoft.JavaScript.NodeApi