JSTypedArray<T>.AsUnchecked<TOther> 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 TOther AsUnchecked<TOther>()
where TOther : struct, IJSValue<TOther>
parameter | description |
---|---|
TOther | A struct that implements IJSValue interface. |
Return Value
T struct created based on this instance.
See Also
- interface IJSValue<TSelf>
- struct JSTypedArray<T>
- namespace Microsoft.JavaScript.NodeApi