shallowReadonly() — vue Function Reference
Architecture documentation for the shallowReadonly() function in readonly.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 6796a061_0d9c_024b_cb91_306774923938["shallowReadonly()"] ccd19137_b11e_4069_105d_a9c9c66236df["createReadonly()"] 6796a061_0d9c_024b_cb91_306774923938 -->|calls| ccd19137_b11e_4069_105d_a9c9c66236df style 6796a061_0d9c_024b_cb91_306774923938 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/v3/reactivity/readonly.ts lines 125–127
export function shallowReadonly<T extends object>(target: T): Readonly<T> {
return createReadonly(target, true)
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does shallowReadonly() do?
shallowReadonly() is a function in the vue codebase.
What does shallowReadonly() call?
shallowReadonly() calls 1 function(s): createReadonly.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free