Skip to main content

@rbxts/expect > ProxyInstance

ProxyInstance interface

The data attached to a Proxy.

Signature:

interface ProxyInstance<T> 

Remarks

You'll rarely (if ever) need to use this interface, and should instead use Proxy instead.

This is mainly provided as a way to clarify how a proxy looks internally.

Properties

Property

Modifiers

Type

Description

_is_proxy

true

A value attached to all proxies to easily identify them as proxies.

_proxy_parent?

Proxy<unknown>

(Optional) The proxy that created this proxy.

_proxy_path?

string

(Optional) The index from where this proxy was created on the parent.

_proxy_value

T

The inner value that this proxy is wrapping around.