Skip to content

JSSymbol Explicit operator (1 of 2)

Explicitly converts a JSValue to a nullable JSSymbol.

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

Return Value

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

See Also


JSSymbol Explicit operator (2 of 2)

Explicitly converts a JSValue to a JSSymbol.

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

Return Value

JSSymbol 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