get_proxied_value() — svelte Function Reference
Architecture documentation for the get_proxied_value() function in proxy.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 26dfb8f0_9124_b0f3_036d_7fac50a771b5["get_proxied_value()"] 71020d3b_ab64_9fea_2a06_dab93412f92f["proxy.js"] 26dfb8f0_9124_b0f3_036d_7fac50a771b5 -->|defined in| 71020d3b_ab64_9fea_2a06_dab93412f92f ff98bd09_e6fd_2deb_9709_503ac689db35["init_array_prototype_warnings()"] ff98bd09_e6fd_2deb_9709_503ac689db35 -->|calls| 26dfb8f0_9124_b0f3_036d_7fac50a771b5 e3b9dee9_c9b1_684b_ba7f_e0a21399cb55["strict_equals()"] e3b9dee9_c9b1_684b_ba7f_e0a21399cb55 -->|calls| 26dfb8f0_9124_b0f3_036d_7fac50a771b5 bd4c6a82_d446_6d5c_a8ba_299ef74d47b8["equals()"] bd4c6a82_d446_6d5c_a8ba_299ef74d47b8 -->|calls| 26dfb8f0_9124_b0f3_036d_7fac50a771b5 e604925d_22aa_7ddd_2399_07b188b31eb1["is()"] e604925d_22aa_7ddd_2399_07b188b31eb1 -->|calls| 26dfb8f0_9124_b0f3_036d_7fac50a771b5 style 26dfb8f0_9124_b0f3_036d_7fac50a771b5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/proxy.js lines 369–385
export function get_proxied_value(value) {
try {
if (value !== null && typeof value === 'object' && STATE_SYMBOL in value) {
return value[STATE_SYMBOL];
}
} catch {
// the above if check can throw an error if the value in question
// is the contentWindow of an iframe on another domain, in which
// case we want to just return the value (because it's definitely
// not a proxied value) so we don't break any JavaScript interacting
// with that iframe (such as various payment companies client side
// JavaScript libraries interacting with their iframes on the same
// domain)
}
return value;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does get_proxied_value() do?
get_proxied_value() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/proxy.js.
Where is get_proxied_value() defined?
get_proxied_value() is defined in packages/svelte/src/internal/client/proxy.js at line 369.
What calls get_proxied_value()?
get_proxied_value() is called by 4 function(s): equals, init_array_prototype_warnings, is, strict_equals.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free