check_target() — svelte Function Reference
Architecture documentation for the check_target() function in legacy.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD b1d739a8_c774_2c7f_18da_8b746bbd7b91["check_target()"] e70d565a_b58f_b8a3_6358_70d749ddae50["legacy.js"] b1d739a8_c774_2c7f_18da_8b746bbd7b91 -->|defined in| e70d565a_b58f_b8a3_6358_70d749ddae50 99f67de4_b8c4_424a_7e3e_e380741e9fda["component_api_invalid_new()"] b1d739a8_c774_2c7f_18da_8b746bbd7b91 -->|calls| 99f67de4_b8c4_424a_7e3e_e380741e9fda style b1d739a8_c774_2c7f_18da_8b746bbd7b91 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/dev/legacy.js lines 6–10
export function check_target(target) {
if (target) {
e.component_api_invalid_new(target[FILENAME] ?? 'a component', target.name);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does check_target() do?
check_target() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dev/legacy.js.
Where is check_target() defined?
check_target() is defined in packages/svelte/src/internal/client/dev/legacy.js at line 6.
What does check_target() call?
check_target() calls 1 function(s): component_api_invalid_new.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free