Home / Function/ hasOwn() — vue Function Reference

hasOwn() — vue Function Reference

Architecture documentation for the hasOwn() function in util.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  48552ac3_589d_0990_1979_1bd455665b33["hasOwn()"]
  41335b20_70f9_2989_a478_f3e623afbc9a["mergeData()"]
  41335b20_70f9_2989_a478_f3e623afbc9a -->|calls| 48552ac3_589d_0990_1979_1bd455665b33
  892cde94_b9ea_1f44_2d22_879e0dc87e80["mergeOptions()"]
  892cde94_b9ea_1f44_2d22_879e0dc87e80 -->|calls| 48552ac3_589d_0990_1979_1bd455665b33
  f9462a81_a8d5_9062_8a24_a56d8ba459fc["resolveAsset()"]
  f9462a81_a8d5_9062_8a24_a56d8ba459fc -->|calls| 48552ac3_589d_0990_1979_1bd455665b33
  50f52114_04b8_bc98_a41e_bc26a88ea2ab["validateProp()"]
  50f52114_04b8_bc98_a41e_bc26a88ea2ab -->|calls| 48552ac3_589d_0990_1979_1bd455665b33
  d405b246_79c5_0fda_f20d_75ebd8bfe36b["getPropDefaultValue()"]
  d405b246_79c5_0fda_f20d_75ebd8bfe36b -->|calls| 48552ac3_589d_0990_1979_1bd455665b33
  style 48552ac3_589d_0990_1979_1bd455665b33 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/shared/util.ts lines 162–164

export function hasOwn(obj: Object | Array<any>, key: string): boolean {
  return hasOwnProperty.call(obj, key)
}

Domain

Subdomains

Frequently Asked Questions

What does hasOwn() do?
hasOwn() is a function in the vue codebase.
What calls hasOwn()?
hasOwn() is called by 5 function(s): getPropDefaultValue, mergeData, mergeOptions, resolveAsset, validateProp.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free