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
  6c373072_87c4_3d48_2308_56ac32c90aa8["hasOwn()"]
  ce303fd5_0a15_37d7_872a_d1ca73ec7f6a["util.ts"]
  6c373072_87c4_3d48_2308_56ac32c90aa8 -->|defined in| ce303fd5_0a15_37d7_872a_d1ca73ec7f6a
  style 6c373072_87c4_3d48_2308_56ac32c90aa8 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

Defined In

Frequently Asked Questions

What does hasOwn() do?
hasOwn() is a function in the vue codebase, defined in src/shared/util.ts.
Where is hasOwn() defined?
hasOwn() is defined in src/shared/util.ts at line 162.

Analyze Your Own Codebase

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

Try Supermodel Free