MCPcopy
hub / github.com/baidu/amis / isObject

Function isObject

packages/amis-core/src/utils/object.ts:103–113  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

101}
102
103export function isObject(obj: any) {
104 const typename = typeof obj;
105 return (
106 obj &&
107 typename !== 'string' &&
108 typename !== 'number' &&
109 typename !== 'boolean' &&
110 typename !== 'function' &&
111 !Array.isArray(obj)
112 );
113}
114
115export function setVariable(
116 data: {[propName: string]: any},

Callers 15

schemaExtend.tsFile · 0.90
normalizeNavigationsMethod · 0.90
renderMethod · 0.90
getParseQueryOptionsMethod · 0.90
renderFilterMethod · 0.90
renderTabsMethod · 0.90
getImageSettingsMethod · 0.90
TimelineCmptFunction · 0.90
getParseQueryOptionsMethod · 0.90
EachItemFunction · 0.90
renderMethod · 0.90
itemRenderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected