hasOwnProperty() — react Function Reference
Architecture documentation for the hasOwnProperty() function in utils.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 27d56ae1_023e_57f5_a306_f4be92e0daca["hasOwnProperty()"] eb9d33f9_42c1_205c_93e6_8e1365a31839["utils.ts"] 27d56ae1_023e_57f5_a306_f4be92e0daca -->|defined in| eb9d33f9_42c1_205c_93e6_8e1365a31839 a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4["isCompilerFlag()"] a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4 -->|calls| 27d56ae1_023e_57f5_a306_f4be92e0daca 842dd25b_450e_d53a_86da_7c3b96f1f5f7["pipelineUsesReanimatedPlugin()"] 842dd25b_450e_d53a_86da_7c3b96f1f5f7 -->|calls| 27d56ae1_023e_57f5_a306_f4be92e0daca e5e371fb_3742_5a74_1c74_35d7ac870a67["parseConfigPragmaEnvironmentForTest()"] e5e371fb_3742_5a74_1c74_35d7ac870a67 -->|calls| 27d56ae1_023e_57f5_a306_f4be92e0daca 7750e61a_286d_376c_20d3_03596b3f28d3["parseConfigPragmaForTests()"] 7750e61a_286d_376c_20d3_03596b3f28d3 -->|calls| 27d56ae1_023e_57f5_a306_f4be92e0daca style 27d56ae1_023e_57f5_a306_f4be92e0daca fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Utils/utils.ts lines 181–186
export function hasOwnProperty<T>(
obj: T,
key: string | number | symbol,
): key is keyof T {
return Object.prototype.hasOwnProperty.call(obj, key);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does hasOwnProperty() do?
hasOwnProperty() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Utils/utils.ts.
Where is hasOwnProperty() defined?
hasOwnProperty() is defined in compiler/packages/babel-plugin-react-compiler/src/Utils/utils.ts at line 181.
What calls hasOwnProperty()?
hasOwnProperty() is called by 4 function(s): isCompilerFlag, parseConfigPragmaEnvironmentForTest, parseConfigPragmaForTests, pipelineUsesReanimatedPlugin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free