Skip to content

JSBigInt Explicit operator (1 of 3) ​

C#
public static explicit operator BigInteger(JSBigInt value)

See Also ​


JSBigInt Explicit operator (2 of 3) ​

Explicitly converts a JSValue to a nullable JSBigInt.

C#
public static explicit operator JSBigInt?(JSValue value)
parameterdescription
valueThe JSValue to convert.

Return Value ​

The JSBigInt if it was successfully created or null if it was failed.

See Also ​


JSBigInt Explicit operator (3 of 3) ​

Explicitly converts a JSValue to a JSBigInt.

C#
public static explicit operator JSBigInt(JSValue value)
parameterdescription
valueThe JSValue to convert.

Return Value ​

JSBigInt struct created based on this JSValue.

Exceptions ​

exceptioncondition
InvalidCastExceptionThrown when the T struct cannot be created based on this JSValue.

See Also ​

Released under the MIT license