JSBigInt structure
C#
public struct JSBigInt : IJSValue<JSBigInt>Public Members
| name | description |
|---|---|
| JSBigInt(…) | (4 constructors) |
| As<T>() | Tries to create a T struct from this instance. It returns null if the T struct cannot be created. |
| AsUnchecked<T>() | 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. |
| CastTo<T>() | Creates a T struct from this instance. It throws InvalidCastException in case of failure. |
| CopyTo(…) | |
| Equals(…) | Compares two JS values using JS "strict" equality. |
| override Equals(…) | |
| override GetHashCode() | |
| GetWordCount() | |
| Is<T>() | Checks if the T struct can be created from this instance`. |
| ToBigInteger() | |
| ToInt64(…) | |
| ToUInt64(…) | |
| ToUInt64Array(…) | |
| operator == | Compares two JS values using JS "strict" equality. |
| explicit operator | Explicitly converts a JSValue to a nullable JSBigInt. (3 operators) |
| implicit operator | Implicitly converts a JSBigInt to a JSValue. (2 operators) |
| operator != | Compares two JS values using JS "strict" equality. |
See Also
- interface IJSValue<TSelf>
- namespace Microsoft.JavaScript.NodeApi
- JSBigInt.cs