MCPcopy
hub / github.com/alibaba/lowcode-engine / isObject

Function isObject

packages/utils/src/is-object.ts:1–3  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

1export function isObject(value: any): value is Record<string, any> {
2 return value !== null && typeof value === 'object';
3}
4
5export function isI18NObject(value: any): boolean {
6 return isObject(value) && value.type === 'i18n';

Callers 6

is-object.test.tsFile · 0.90
isPlainObjectFunction · 0.90
isMixinComponentFunction · 0.90
getLogArgsFunction · 0.90
isI18NObjectFunction · 0.70
getTipContentMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…