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
  f2fe9306_50d5_675e_2dfa_2c4d78443a49["hasOwn()"]
  e4810382_8c74_bddb_f04c_e8c3ddc8a0e7["mergeData()"]
  e4810382_8c74_bddb_f04c_e8c3ddc8a0e7 -->|calls| f2fe9306_50d5_675e_2dfa_2c4d78443a49
  e3725706_6a2c_490a_e95e_84ad13fc4e05["mergeOptions()"]
  e3725706_6a2c_490a_e95e_84ad13fc4e05 -->|calls| f2fe9306_50d5_675e_2dfa_2c4d78443a49
  67dda8cf_b5cf_1ffb_6ae2_8e3b81dcf898["resolveAsset()"]
  67dda8cf_b5cf_1ffb_6ae2_8e3b81dcf898 -->|calls| f2fe9306_50d5_675e_2dfa_2c4d78443a49
  d99d7982_2691_1c11_3bae_459f2d25122d["validateProp()"]
  d99d7982_2691_1c11_3bae_459f2d25122d -->|calls| f2fe9306_50d5_675e_2dfa_2c4d78443a49
  f17df5f9_8c05_1fd0_9b66_82a82a8be567["getPropDefaultValue()"]
  f17df5f9_8c05_1fd0_9b66_82a82a8be567 -->|calls| f2fe9306_50d5_675e_2dfa_2c4d78443a49
  style f2fe9306_50d5_675e_2dfa_2c4d78443a49 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)
}

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