JSObject.Is<T> method
Checks if the T struct can be created from this instance`.
C#
public bool Is<T>()
where T : struct, IJSValue<T>
parameter | description |
---|---|
T | A struct that implements IJSValue interface. |
Return Value
true
if the T struct can be created from this instance. Otherwise it returns false
.
See Also
- interface IJSValue<TSelf>
- struct JSObject
- namespace Microsoft.JavaScript.NodeApi