Skip to main content

@rbxts/expect > ProxyInstance > _proxy_value

ProxyInstance._proxy_value property

The inner value that this proxy is wrapping around.

Signature:

_proxy_value: T;

Remarks

You should use getProxyValue() when you want to access this value.

Note that Assertion.value is already mapped to this whenever dealing with proxies.

Example

const proxy = createProxy({name: "Daymon"});
print(getProxyValue(proxy));

Output:

{ name: "Daymon" }