assertObjectType() — vue Function Reference
Architecture documentation for the assertObjectType() function in options.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD e0dd8d58_d576_1292_78c9_3f7c862ed4f6["assertObjectType()"] 42005369_8c26_cd57_9e0b_56fda4c7428a["mergeAssets()"] 42005369_8c26_cd57_9e0b_56fda4c7428a -->|calls| e0dd8d58_d576_1292_78c9_3f7c862ed4f6 3183ebde_ad80_aeaf_4bd8_296f008a86e3["strats()"] 3183ebde_ad80_aeaf_4bd8_296f008a86e3 -->|calls| e0dd8d58_d576_1292_78c9_3f7c862ed4f6 9fc168ea_48e1_435f_dc4f_5cd5efd8ba0e["isPlainObject()"] e0dd8d58_d576_1292_78c9_3f7c862ed4f6 -->|calls| 9fc168ea_48e1_435f_dc4f_5cd5efd8ba0e a8c8f192_fd2d_dbe3_46ed_dd8fabebc429["warn()"] e0dd8d58_d576_1292_78c9_3f7c862ed4f6 -->|calls| a8c8f192_fd2d_dbe3_46ed_dd8fabebc429 c57c7f31_12a9_617f_4d2b_f5f5170fa30c["toRawType()"] e0dd8d58_d576_1292_78c9_3f7c862ed4f6 -->|calls| c57c7f31_12a9_617f_4d2b_f5f5170fa30c style e0dd8d58_d576_1292_78c9_3f7c862ed4f6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/util/options.ts lines 397–405
function assertObjectType(name: string, value: any, vm: Component | null) {
if (!isPlainObject(value)) {
warn(
`Invalid value for option "${name}": expected an Object, ` +
`but got ${toRawType(value)}.`,
vm
)
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does assertObjectType() do?
assertObjectType() is a function in the vue codebase.
What does assertObjectType() call?
assertObjectType() calls 3 function(s): isPlainObject, toRawType, warn.
What calls assertObjectType()?
assertObjectType() is called by 2 function(s): mergeAssets, strats.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free