JsDebugVariable Struct

A variable of a JsDebugScope.

public readonly struct JsDebugVariable

Properties

NameDescription
IsInitializedGets whether the variable is initialized. A let, const or class declaration is not initialized before it runs (its temporal dead zone): reading it throws a ReferenceError.
NameGets the name of the variable.
ValueGets the value of the variable (undefined when it is not initialized).

IsInitialized

JsDebugVariable.cs

Gets whether the variable is initialized. A let, const or class declaration is not initialized before it runs (its temporal dead zone): reading it throws a ReferenceError.

public bool IsInitialized { get; }

Property value

bool

Gets the name of the variable.

public string Name { get; }

Property value

string

Gets the value of the variable (undefined when it is not initialized).

public JsValue Value { get; }

Property value

JsValue

Methods

NameDescription
ToString()Returns the fully qualified type name of this instance.

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string The fully qualified type name.