MCPcopy
hub / github.com/plotly/dash / isDryComponent

Function isDryComponent

dash/dash-renderer/src/wrapper/wrapping.ts:18–25  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

16}
17
18export function isDryComponent(obj: any) {
19 return (
20 type(obj) === 'Object' &&
21 has('type', obj) &&
22 has('namespace', obj) &&
23 has('props', obj)
24 );
25}
26
27export function validateComponent(componentDefinition: any) {
28 if (type(componentDefinition) === 'Array') {

Callers 2

applyPersistenceFunction · 0.90
DashWrapperFunction · 0.90

Calls 1

hasFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…