Skip to content

JSSet Explicit operator (1 of 4)

C#
public static explicit operator JSSet(JSIterable obj)

See Also


JSSet Explicit operator (2 of 4)

C#
public static explicit operator JSSet(JSObject obj)

See Also


JSSet Explicit operator (3 of 4)

Explicitly converts a JSValue to a nullable JSSet.

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

Return Value

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

See Also


JSSet Explicit operator (4 of 4)

Explicitly converts a JSValue to a JSSet.

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

Return Value

JSSet 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